if opt is freeze with force_default_on_freeze, didn't remove store value
authorEmmanuel Garette <egarette@cadoles.com>
Tue, 1 Apr 2014 19:01:01 +0000 (21:01 +0200)
committerEmmanuel Garette <egarette@cadoles.com>
Tue, 1 Apr 2014 19:01:01 +0000 (21:01 +0200)
tiramisu/value.py

index b6f3b51..348f3ed 100644 (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)