mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 17:45:03 -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
|
@ -432,7 +432,7 @@ class DeferredCacheListDescriptor(_CacheDescriptorBase):
|
|||
num_args = cached_method.num_args
|
||||
|
||||
if num_args != self.num_args:
|
||||
raise Exception(
|
||||
raise TypeError(
|
||||
"Number of args (%s) does not match underlying cache_method_name=%s (%s)."
|
||||
% (self.num_args, self.cached_method_name, num_args)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue