mirror of
https://github.com/kennethreitz-archive/python-convore.git
synced 2026-06-05 23:40:18 +00:00
Add cached groups to parents.
This commit is contained in:
@@ -43,6 +43,12 @@ class SyncedList(object):
|
||||
_fetched = self.get(key)
|
||||
if _fetched:
|
||||
self.data.append(_fetched)
|
||||
if hasattr(self, 'parent'):
|
||||
self.parent.data.append(_fetched)
|
||||
if hasattr(self.parent, 'parent'):
|
||||
self.parent.parent.data.append(_fetched)
|
||||
print 'woah'
|
||||
|
||||
return _fetched
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user