From 8d33fd4500604f677a9c33c4ff17898eebcf6f28 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 1 Nov 2015 10:57:36 +0100 Subject: [PATCH] setting must have public method to get getproperties with path --- tiramisu/setting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiramisu/setting.py b/tiramisu/setting.py index f6e331c..39c4152 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -337,9 +337,9 @@ class Settings(object): def __getitem__(self, opt): path = opt.impl_getpath(self._getcontext()) - return self._getitem(opt, path) + return self.getproperties(opt, path) - def _getitem(self, opt, path, setting_properties=undefined): + def getproperties(self, opt, path, setting_properties=undefined): return Property(self, self._getproperties(opt, path, setting_properties=setting_properties),