don't valid mandatory in metaconfig but in config
This commit is contained in:
parent
7c214bb8ee
commit
0d19f06b52
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,7 @@ class Values(object):
|
|||
moption_bag = self._get_meta(option_bag)
|
||||
if moption_bag:
|
||||
# retrieved value from meta config
|
||||
return moption_bag.config_bag.context.cfgimpl_get_values().get_cached_value(option_bag)
|
||||
return moption_bag.config_bag.context.cfgimpl_get_values().get_cached_value(moption_bag)
|
||||
|
||||
if opt.impl_has_callback():
|
||||
# if value has callback, calculate value
|
||||
|
@ -325,6 +325,7 @@ class Values(object):
|
|||
doption_bag = option_bag.copy()
|
||||
config_bag = option_bag.config_bag.copy()
|
||||
config_bag.context = meta
|
||||
config_bag.remove_validation()
|
||||
doption_bag.config_bag = config_bag
|
||||
doption_bag.properties = frozenset()
|
||||
meta_option_bag = meta.cfgimpl_get_values().getowner(doption_bag,
|
||||
|
|
Loading…
Reference in a new issue