setting must have public method to get getproperties with path
This commit is contained in:
parent
11d23bc8d8
commit
8d33fd4500
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue