an error message has been deleted by error
authorgwen <gremond@cadoles.com>
Wed, 4 Dec 2013 14:48:19 +0000 (15:48 +0100)
committergwen <gremond@cadoles.com>
Wed, 4 Dec 2013 14:48:19 +0000 (15:48 +0100)
tiramisu/option.py

index 7cdf0a4..f6a42c2 100644 (file)
@@ -451,7 +451,8 @@ class Option(BaseOption):
             do_validation(value, force_index)
         else:
             if not isinstance(value, list):
-                raise ValueError(_("which must be a list").format(value,
+                raise ValueError(_("invalid value {0} for option {1} "
+                                   "which must be a list").format(value,
                                                                   self._name))
             for index, val in enumerate(value):
                 do_validation(val, index)