setting must have public method to get getproperties with path

This commit is contained in:
Emmanuel Garette 2015-11-01 10:57:36 +01:00
parent 11d23bc8d8
commit 8d33fd4500

View File

@ -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),