imprecise error message
[tiramisu.git] / tiramisu / option.py
index df7c985..f85c3ad 100644 (file)
@@ -451,9 +451,7 @@ class Option(BaseOption):
             do_validation(value, force_index)
         else:
             if not isinstance(value, list):
-                raise ValueError(_("invalid value {0} for option {1} ")
-                                 _("which must be a list").format(value,
-                                                                  self._name))
+                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)