Merge branch '_getattr'

This commit is contained in:
Emmanuel Garette 2014-04-01 09:51:43 +02:00
commit 967a48412d
1 changed files with 3 additions and 2 deletions

View File

@ -214,10 +214,11 @@ class SubConfig(object):
def __getattr__(self, name):
return self.getattr(name)
def _getattr(self, name):
def _getattr(self, name, force_permissive=False, force_properties=None,
validate=True):
"""use getattr instead of _getattr
"""
return self.getattr(name)
return self.getattr(name, force_permissive, force_properties, validate)
def getattr(self, name, force_permissive=False, force_properties=None,
validate=True):