test force_default_on_freeze with multi and correction in Multi()

This commit is contained in:
2013-08-28 22:50:35 +02:00
parent 7f755e0ef8
commit 8aa4260404
2 changed files with 15 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class Values(object):
elif is_frozen and 'force_default_on_freeze' in setting[opt]:
value = self._getdefault(opt)
if opt.impl_is_multi():
value = Multi(value, self.context(), opt, path, validate)
value = Multi(value, self.context, opt, path, validate)
else:
value = self._getvalue(opt, path, validate)
if validate: