Remove unneeded __init__. (#15926)

Remove an __init__ which only calls super() without changing the
input arguments.
This commit is contained in:
Patrick Cloke 2023-07-12 10:30:05 -04:00 committed by GitHub
parent 5bdf01fccd
commit 204b66c203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

1
changelog.d/15926.misc Normal file
View file

@ -0,0 +1 @@
Remove unneeded `__init__`.

View file

@ -432,15 +432,6 @@ class FederationV2SendJoinServlet(BaseFederationServerServlet):
PREFIX = FEDERATION_V2_PREFIX PREFIX = FEDERATION_V2_PREFIX
def __init__(
self,
hs: "HomeServer",
authenticator: Authenticator,
ratelimiter: FederationRateLimiter,
server_name: str,
):
super().__init__(hs, authenticator, ratelimiter, server_name)
async def on_PUT( async def on_PUT(
self, self,
origin: str, origin: str,