From d982cd585ff2fc3fa8802af6d24672261d5a9cef Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 4 Sep 2015 12:12:28 -0500 Subject: [PATCH] Revert "fix up if/elif in _handle_optional_arg_type" This reverts commit 1373fe5178c402b80de1c55e5e47cce71cc36749. --- 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 94ac9e26..724ddc32 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)) - elif type(f_arg) is str: + if type(f_arg) is str: cmd_args.append("%s=%s" % (c_arg, item)) else: raise Exception(