aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-18 15:51:35 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-18 15:51:35 +0200
commitc08d8cba95baa20401134c95ce944c666c4611f0 (patch)
treea9479725d77216e88d65f2dd3f5640036fe74d62 /src
parentmisc (diff)
downloadargparser-c08d8cba95baa20401134c95ce944c666c4611f0.tar.gz
argparser-c08d8cba95baa20401134c95ce944c666c4611f0.tar.bz2
argparser-c08d8cba95baa20401134c95ce944c666c4611f0.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/argparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.py b/src/argparser.py
index 896af10..b870793 100644
--- a/src/argparser.py
+++ b/src/argparser.py
@@ -289,7 +289,7 @@ class ArgParser():
if arg[0] == ArgParser.VARIADIC:
varopt = self.opts[arg[1][4]]
if varopt is not None:
- additional = ','.join(self.files).split(',') if len(self.files) > 0 else []
+ additional = self.files if len(self.files) > 0 else []
if varopt[0] is None:
self.opts[arg[1][4]] = additional
else: