mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-06 21:11:08 +02:00
Remove unneeded __init__. (#15926)
Remove an __init__ which only calls super() without changing the input arguments.
This commit is contained in:
parent
5bdf01fccd
commit
204b66c203
1
changelog.d/15926.misc
Normal file
1
changelog.d/15926.misc
Normal file
@ -0,0 +1 @@
|
||||
Remove unneeded `__init__`.
|
@ -432,15 +432,6 @@ class FederationV2SendJoinServlet(BaseFederationServerServlet):
|
||||
|
||||
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(
|
||||
self,
|
||||
origin: str,
|
||||
|
Loading…
x
Reference in New Issue
Block a user