Don't assume @cachedList function returns keys for everything
This commit is contained in:
parent
85d0bc3bdc
commit
8e254862f4
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class CacheListDescriptor(object):
|
||||||
# we can insert the new deferred into the cache.
|
# we can insert the new deferred into the cache.
|
||||||
for arg in missing:
|
for arg in missing:
|
||||||
observer = ret_d.observe()
|
observer = ret_d.observe()
|
||||||
observer.addCallback(lambda r, arg: r[arg], arg)
|
observer.addCallback(lambda r, arg: r.get(arg, None), arg)
|
||||||
|
|
||||||
observer = ObservableDeferred(observer)
|
observer = ObservableDeferred(observer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue