force_store_value works now with permissive

This commit is contained in:
2014-03-28 17:35:27 +01:00
parent 84f0095c2f
commit 712db2875e
2 changed files with 14 additions and 2 deletions

View File

@ -243,7 +243,8 @@ class Values(object):
opt.impl_validate(value, context, 'validator' in setting)
if config_error is None and self._is_default_owner(path) and \
'force_store_value' in setting[opt]:
self.setitem(opt, value, path, is_write=False)
self.setitem(opt, value, path, is_write=False,
force_permissive=force_permissive)
if validate_properties:
setting.validate_properties(opt, False, False, value=value, path=path,
force_permissive=force_permissive,