From 054dfeab7ad2bf4d617db06d169a7eb13042d67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 16 May 2014 22:14:26 +0200 Subject: [PATCH] [fix] Use list for skipped_iface in extra arguments --- moulinette/actionsmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index 5c35ceda..f6b114a4 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -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