Fixed a recursive error with the ndbhandler.all.

This commit is contained in:
Griatch 2015-06-12 22:48:28 +02:00
parent 7f8d421039
commit fb8db4ead0

View file

@ -124,7 +124,7 @@ class DbHolder(object):
attr = _GA(self, _GA(self, 'name')).get("all")
if attr:
return attr
return self.all
return _GA(self, "all")
return _GA(self, _GA(self, 'name')).get(attrname)
def __setattr__(self, attrname, value):