[fix] Use list for skipped_iface in extra arguments

This commit is contained in:
Jérôme Lebleu 2014-05-16 22:14:26 +02:00
parent f4a32eea9c
commit 054dfeab7a

View file

@ -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