From ae2bbc82f5d0292ea25cef46c63bdc003b303c05 Mon Sep 17 00:00:00 2001 From: ljf Date: Fri, 5 Oct 2018 15:58:30 +0200 Subject: [PATCH] [fix] Empty list of arguments in actionsmap --- moulinette/interfaces/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/interfaces/cli.py b/moulinette/interfaces/cli.py index 0272d92e..ee92b2d7 100644 --- a/moulinette/interfaces/cli.py +++ b/moulinette/interfaces/cli.py @@ -315,7 +315,7 @@ class ActionsMapParser(BaseActionsMapParser): deprecated_alias=deprecated_alias) def add_global_arguments(self, arguments): - for argument_name, argument_options in list(arguments.items()): + for argument_name, argument_options in arguments.items(): # will adapt arguments name for cli or api context names = self.format_arg_names(str(argument_name), argument_options.pop('full', None))