From 400bc061caaab8a41f5186b060c68fece544ce2c Mon Sep 17 00:00:00 2001 From: "Amber H. Brown" Date: Fri, 5 Jul 2019 22:44:22 +1000 Subject: linting --- synapse/federation/transport/client.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'synapse/federation/transport/client.py') diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 8ba893ab35..ce5f510bd4 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -945,14 +945,9 @@ class TransportLayerClient(object): destination (str): The remote server room_id (str): The room ID to ask about. """ - path = _create_path( - FEDERATION_UNSTABLE_PREFIX, "/rooms/%s/complexity", room_id - ) + path = _create_path(FEDERATION_UNSTABLE_PREFIX, "/rooms/%s/complexity", room_id) - return self.client.get_json( - destination=destination, - path=path - ) + return self.client.get_json(destination=destination, path=path) def _create_path(federation_prefix, path, *args): -- cgit 1.5.1