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
1 changed files with 2 additions and 1 deletions

View File

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