name => path

This commit is contained in:
Emmanuel Garette 2018-11-16 22:34:51 +01:00
parent b0d4e1983f
commit 9bc3c7a056

View file

@ -1008,16 +1008,16 @@ class TiramisuContextOption(TiramisuContext):
def _filter(self,
opt):
if self._config_bag.properties:
name = opt.impl_getname()
option_bag = OptionBag()
path = opt.impl_getpath()
option_bag.set_option(opt,
name,
path,
None,
self._config_bag)
if opt.impl_is_optiondescription():
self._config_bag.context.cfgimpl_get_settings().validate_properties(option_bag)
else:
self._config_bag.context.getattr(name,
self._config_bag.context.getattr(path,
option_bag)
def _walk(self,
option,