This commit is contained in:
Erik Johnston 2015-08-11 11:40:40 +01:00
parent 6eaa116867
commit 53a817518b
2 changed files with 13 additions and 3 deletions

View file

@ -315,6 +315,8 @@ class CacheListDescriptor(object):
ret_d = ObservableDeferred(ret_d)
# We need to create deferreds for each arg in the list so that
# we can insert the new deferred into the cache.
for arg in missing:
observer = ret_d.observe()
observer.addCallback(lambda r, arg: r[arg], arg)