mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 00:15:01 -04:00
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org> Co-authored-by: David Robertson <davidr@element.io>
This commit is contained in:
parent
695a85d1bc
commit
0b7830e457
8 changed files with 22 additions and 15 deletions
|
@ -395,8 +395,8 @@ class DeferredCache(Generic[KT, VT]):
|
|||
# _pending_deferred_cache.pop should either return a CacheEntry, or, in the
|
||||
# case of a TreeCache, a dict of keys to cache entries. Either way calling
|
||||
# iterate_tree_cache_entry on it will do the right thing.
|
||||
for entry in iterate_tree_cache_entry(entry):
|
||||
for cb in entry.get_invalidation_callbacks(key):
|
||||
for iter_entry in iterate_tree_cache_entry(entry):
|
||||
for cb in iter_entry.get_invalidation_callbacks(key):
|
||||
cb()
|
||||
|
||||
def invalidate_all(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue