Merge branch '_getattr'
This commit is contained in:
commit
967a48412d
1 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue