diff --git a/tiramisu/value.py b/tiramisu/value.py index 3851201..c89fc9e 100644 --- a/tiramisu/value.py +++ b/tiramisu/value.py @@ -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,