0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-22 05:54:04 +01:00
This commit is contained in:
Erik Johnston 2015-08-11 11:35:24 +01:00
parent 4762c276cb
commit 6eaa116867

View file

@ -288,6 +288,8 @@ class CacheListDescriptor(object):
keyargs = [arg_dict[arg_nm] for arg_nm in self.arg_names] keyargs = [arg_dict[arg_nm] for arg_nm in self.arg_names]
list_args = arg_dict[self.list_name] list_args = arg_dict[self.list_name]
# cached is a dict arg -> deferred, where deferred results in a
# 2-tuple (`arg`, `result`)
cached = {} cached = {}
missing = [] missing = []
for arg in list_args: for arg in list_args: