an error message has been deleted by error, ref #6740

This commit is contained in:
gwen 2013-12-04 15:55:53 +01:00
parent 48b662997e
commit 5fb79fed38
1 changed files with 2 additions and 2 deletions

View File

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