if opt is freeze with force_default_on_freeze, didn't remove store value

This commit is contained in:
Emmanuel Garette 2014-04-01 21:01:01 +02:00
parent 0b2e5f90e2
commit 463fc8e88a

View File

@ -227,8 +227,6 @@ class Values(object):
if config_error is None:
if opt.impl_is_multi():
value = Multi(value, self.context, opt, path, validate)
# suppress value if already set
self.reset(opt, path)
# frozen and force default
elif is_frozen and 'force_default_on_freeze' in setting[opt]:
value = self._getdefault(opt)