mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-15 17:22:18 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -29,7 +29,7 @@ from synapse.logging.context import (
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FederationRateLimiter(object):
|
||||
class FederationRateLimiter:
|
||||
def __init__(self, clock, config):
|
||||
"""
|
||||
Args:
|
||||
|
@ -60,7 +60,7 @@ class FederationRateLimiter(object):
|
|||
return self.ratelimiters[host].ratelimit()
|
||||
|
||||
|
||||
class _PerHostRatelimiter(object):
|
||||
class _PerHostRatelimiter:
|
||||
def __init__(self, clock, config):
|
||||
"""
|
||||
Args:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue