mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Use list for skipped_iface in extra arguments
This commit is contained in:
parent
f4a32eea9c
commit
054dfeab7a
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class _ExtraParameter(object):
|
|||
# Each extra parameters classes can overwrite these variables.
|
||||
|
||||
"""A list of interface for which the parameter doesn't apply"""
|
||||
skipped_iface = {}
|
||||
skipped_iface = []
|
||||
|
||||
|
||||
## Virtual methods
|
||||
|
@ -84,7 +84,7 @@ class AskParameter(_ExtraParameter):
|
|||
|
||||
"""
|
||||
name = 'ask'
|
||||
skipped_iface = { 'api' }
|
||||
skipped_iface = [ 'api' ]
|
||||
|
||||
def __call__(self, message, arg_name, arg_value):
|
||||
# TODO: Fix asked arguments ordering
|
||||
|
|
Loading…
Reference in a new issue