Merge pull request #41638 from gtmanfred/cmdscript

don't overwrite args if they are passed to the script
This commit is contained in:
Mike Place 2017-06-08 12:48:48 -05:00 committed by GitHub
commit 8926d1c731

View File

@ -1081,7 +1081,7 @@ def script(name,
source = name
# If script args present split from name and define args
if len(name.split()) > 1:
if not cmd_kwargs.get('args', None) and len(name.split()) > 1:
cmd_kwargs.update({'args': name.split(' ', 1)[1]})
cret = mod_run_check(