mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -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