mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-30 06:02:12 +00:00
Fix typo in return type
This commit is contained in:
parent
e8ecbb6f20
commit
37b4c7d8a9
@ -178,9 +178,8 @@ class Cache(object):
|
|||||||
self.sequence += 1
|
self.sequence += 1
|
||||||
self.cache.del_multi(key)
|
self.cache.del_multi(key)
|
||||||
|
|
||||||
val = self._pending_deferred_cache.pop(key, None)
|
entry_dict = self._pending_deferred_cache.pop(key, None)
|
||||||
if val is not None:
|
if entry_dict is not None:
|
||||||
entry_dict, _ = val
|
|
||||||
for entry in iterate_tree_cache_entry(entry_dict):
|
for entry in iterate_tree_cache_entry(entry_dict):
|
||||||
entry.invalidate()
|
entry.invalidate()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user