[lua-torch-xlua] 01/07: New upstream version 0~20160719-g41308fe
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat May 20 08:41:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch master
in repository lua-torch-xlua.
commit ad46bcd4dbfcbea0446bf4124f724a09c63f1f8d
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat May 20 08:27:58 2017 +0000
New upstream version 0~20160719-g41308fe
---
OptionParser.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/OptionParser.lua b/OptionParser.lua
index 11379dd..facad43 100644
--- a/OptionParser.lua
+++ b/OptionParser.lua
@@ -72,6 +72,7 @@ function OptionParser:parse(options)
options.__main__ = true -- python like main
-- expand options (e.g. "--input=file" -> "--input", "file")
+ local unpack = unpack or table.unpack
local arg = {unpack(arg)}
for i=#arg,1,-1 do local v = arg[i]
local flag, val = v:match('^(%-%-%w+)=(.*)')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-xlua.git
More information about the debian-science-commits
mailing list