Revert "fix up if/elif in _handle_optional_arg_type"
This reverts commit 1373fe5178
.
This commit is contained in:
parent
05e9bbab9c
commit
d982cd585f
@ -45,7 +45,7 @@ class LoraxWrapper(object):
|
||||
if type(f_arg) is list:
|
||||
for item in f_arg:
|
||||
cmd_args.append("%s=%s" % (c_arg, item))
|
||||
elif type(f_arg) is str:
|
||||
if type(f_arg) is str:
|
||||
cmd_args.append("%s=%s" % (c_arg, item))
|
||||
else:
|
||||
raise Exception(
|
||||
|
Loading…
Reference in New Issue
Block a user