force_permissive in cfgimpl_get_home_by_path

This commit is contained in:
Emmanuel Garette 2016-04-07 16:14:01 +02:00
parent ebf84b5a69
commit 6ef85c4974

View File

@ -217,7 +217,8 @@ class SubConfig(object):
object.__setattr__(self, name, value)
return
if '.' in name: # pragma: optional cover
homeconfig, name = self.cfgimpl_get_home_by_path(name)
homeconfig, name = self.cfgimpl_get_home_by_path(name,
force_permissive=force_permissive)
return homeconfig.setattr(name, value, force_permissive,
not_raises)
context = self._cfgimpl_get_context()