mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Empty list of arguments in actionsmap
This commit is contained in:
parent
53f55bf100
commit
ae2bbc82f5
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class ActionsMapParser(BaseActionsMapParser):
|
||||||
deprecated_alias=deprecated_alias)
|
deprecated_alias=deprecated_alias)
|
||||||
|
|
||||||
def add_global_arguments(self, arguments):
|
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
|
# will adapt arguments name for cli or api context
|
||||||
names = self.format_arg_names(str(argument_name),
|
names = self.format_arg_names(str(argument_name),
|
||||||
argument_options.pop('full', None))
|
argument_options.pop('full', None))
|
||||||
|
|
Loading…
Add table
Reference in a new issue