Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove unneeded __init__. (#15926)
Browse files Browse the repository at this point in the history
Remove an __init__ which only calls super() without changing the
input arguments.
  • Loading branch information
clokep authored Jul 12, 2023
1 parent 5bdf01f commit 204b66c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions changelog.d/15926.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unneeded `__init__`.
9 changes: 0 additions & 9 deletions synapse/federation/transport/server/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 204b66c

Please sign in to comment.