mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't assume @cachedList function returns keys for everything
This commit is contained in:
parent
85d0bc3bdc
commit
8e254862f4
@ -293,7 +293,7 @@ class CacheListDescriptor(object):
|
||||
# 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)
|
||||
observer.addCallback(lambda r, arg: r.get(arg, None), arg)
|
||||
|
||||
observer = ObservableDeferred(observer)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user