same arity for _getattr and getattr
This commit is contained in:
parent
150b490200
commit
0b2e5f90e2
@ -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 New Issue
Block a user