if opt is freeze with force_default_on_freeze, didn't remove store value
This commit is contained in:
parent
0b2e5f90e2
commit
463fc8e88a
1 changed files with 0 additions and 2 deletions
|
@ -227,8 +227,6 @@ class Values(object):
|
||||||
if config_error is None:
|
if config_error is None:
|
||||||
if opt.impl_is_multi():
|
if opt.impl_is_multi():
|
||||||
value = Multi(value, self.context, opt, path, validate)
|
value = Multi(value, self.context, opt, path, validate)
|
||||||
# suppress value if already set
|
|
||||||
self.reset(opt, path)
|
|
||||||
# frozen and force default
|
# frozen and force default
|
||||||
elif is_frozen and 'force_default_on_freeze' in setting[opt]:
|
elif is_frozen and 'force_default_on_freeze' in setting[opt]:
|
||||||
value = self._getdefault(opt)
|
value = self._getdefault(opt)
|
||||||
|
|
Loading…
Reference in a new issue