Skip to content
Snippets Groups Projects
Commit 5fae96eb authored by Bob Lantz's avatar Bob Lantz
Browse files

Change to only split once so that cargs='--foo=1 --bar=2' works.

fixes #144
parent e3d07bc1
No related branches found
No related tags found
No related merge requests found
......@@ -423,7 +423,7 @@ def splitArgs( argstr ):
args = [ makeNumeric( s ) for s in params if '=' not in s ]
kwargs = {}
for s in [ p for p in params if '=' in p ]:
key, val = s.split( '=' )
key, val = s.split( '=', 1 )
kwargs[ key ] = makeNumeric( val )
return fn, args, kwargs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment