Merge branch '_getattr'
This commit is contained in:
commit
967a48412d
|
@ -214,10 +214,11 @@ class SubConfig(object):
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
return self.getattr(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
|
"""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,
|
def getattr(self, name, force_permissive=False, force_properties=None,
|
||||||
validate=True):
|
validate=True):
|
||||||
|
|
Loading…
Reference in New Issue