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

Commit ab5488f

Browse files
squahtxH-Shay
authored andcommitted
Remove unused FederationServer.__str__ override (#15690)
Signed-off-by: Sean Quah <seanq@matrix.org>
1 parent 11e15d7 commit ab5488f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

changelog.d/15690.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove some unused code.

synapse/federation/federation_server.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,9 +1291,6 @@ async def _process_incoming_pdus_in_room_inner(
12911291
return
12921292
lock = new_lock
12931293

1294-
def __str__(self) -> str:
1295-
return "<ReplicationLayer(%s)>" % self.server_name
1296-
12971294
async def exchange_third_party_invite(
12981295
self, sender_user_id: str, target_user_id: str, room_id: str, signed: Dict
12991296
) -> None:

0 commit comments

Comments
 (0)