mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Fix extra parameters absence
This commit is contained in:
parent
3fae8bf1ff
commit
c95469073a
1 changed files with 2 additions and 1 deletions
|
@ -1061,7 +1061,8 @@ class ActionsMap(object):
|
||||||
arg = parser.add_argument(*names, **argp)
|
arg = parser.add_argument(*names, **argp)
|
||||||
if extra:
|
if extra:
|
||||||
extras[arg.dest] = _get_extra(arg.dest, extra)
|
extras[arg.dest] = _get_extra(arg.dest, extra)
|
||||||
parser.set_defaults(_extra=extras)
|
if extras:
|
||||||
|
parser.set_defaults(_extra=extras)
|
||||||
|
|
||||||
# Instantiate parser
|
# Instantiate parser
|
||||||
top_parser = self._parser_class()
|
top_parser = self._parser_class()
|
||||||
|
|
Loading…
Reference in a new issue