Fixed error message for invalid config option.

This commit is contained in:
Peter Schnebel 2013-02-06 09:37:07 +01:00
parent 7193f4e863
commit e5e3eda676

View file

@ -357,7 +357,7 @@ class ConfigView(object):
if value not in choices:
raise ConfigValueError(
'{0} must be one of {1}, not {2}'.format(
self.name, repr(value), repr(list(choices))
self.name, repr(list(choices)), repr(value)
)
)