config_error is an exception, raise directly config_error

This commit is contained in:
Emmanuel Garette 2013-09-25 10:22:31 +02:00
parent 06baff2f3b
commit 4e0f0a5b70
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ class Values(object):
force_properties=force_properties, force_properties=force_properties,
force_permissives=force_permissives) force_permissives=force_permissives)
if config_error is not None: if config_error is not None:
raise ConfigError(config_error) raise config_error
return value return value
def __setitem__(self, opt, value): def __setitem__(self, opt, value):