From 1373fe5178c402b80de1c55e5e47cce71cc36749 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 18 Aug 2015 15:50:16 -0500 Subject: [PATCH] fix up if/elif in _handle_optional_arg_type --- pungi/wrappers/lorax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/wrappers/lorax.py b/pungi/wrappers/lorax.py index 724ddc32..94ac9e26 100644 --- a/pungi/wrappers/lorax.py +++ b/pungi/wrappers/lorax.py @@ -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)) - if type(f_arg) is str: + elif type(f_arg) is str: cmd_args.append("%s=%s" % (c_arg, item)) else: raise Exception(