From 0b2e5f90e24585ef746eaf255eae3ef76f158109 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 1 Apr 2014 09:51:25 +0200 Subject: [PATCH] same arity for _getattr and getattr --- tiramisu/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tiramisu/config.py b/tiramisu/config.py index af7266e..d867a59 100644 --- a/tiramisu/config.py +++ b/tiramisu/config.py @@ -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):