fix up if/elif in _handle_optional_arg_type

This commit is contained in:
Adam Miller 2015-08-18 15:50:16 -05:00
parent 919a4fc619
commit 1373fe5178

View File

@ -45,7 +45,7 @@ class LoraxWrapper(object):
if type(f_arg) is list: if type(f_arg) is list:
for item in f_arg: for item in f_arg:
cmd_args.append("%s=%s" % (c_arg, item)) cmd_args.append("%s=%s" % (c_arg, item))
if type(f_arg) is str: elif type(f_arg) is str:
cmd_args.append("%s=%s" % (c_arg, item)) cmd_args.append("%s=%s" % (c_arg, item))
else: else:
raise Exception( raise Exception(