Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix typo in return type
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jan 17, 2017
1 parent e8ecbb6 commit 37b4c7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions synapse/util/caches/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,8 @@ def invalidate_many(self, key):
self.sequence += 1
self.cache.del_multi(key)

val = self._pending_deferred_cache.pop(key, None)
if val is not None:
entry_dict, _ = val
entry_dict = self._pending_deferred_cache.pop(key, None)
if entry_dict is not None:
for entry in iterate_tree_cache_entry(entry_dict):
entry.invalidate()

Expand Down

0 comments on commit 37b4c7d

Please sign in to comment.