config_error is an exception, raise directly config_error
This commit is contained in:
parent
06baff2f3b
commit
4e0f0a5b70
@ -241,7 +241,7 @@ class Values(object):
|
||||
force_properties=force_properties,
|
||||
force_permissives=force_permissives)
|
||||
if config_error is not None:
|
||||
raise ConfigError(config_error)
|
||||
raise config_error
|
||||
return value
|
||||
|
||||
def __setitem__(self, opt, value):
|
||||
|
Loading…
Reference in New Issue
Block a user