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

Commit

Permalink
Remove unneeded __init__. (matrix-org#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 and Fizzadar committed Aug 29, 2023
1 parent f41381a commit 7265381
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 7265381

Please sign in to comment.