summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorAmber H. Brown <hawkowl@atleastfornow.net>2019-07-05 22:44:22 +1000
committerAmber H. Brown <hawkowl@atleastfornow.net>2019-07-05 22:44:22 +1000
commit400bc061caaab8a41f5186b060c68fece544ce2c (patch)
treeef171d6b8b833a2227e8476b84058fc839f3f508 /synapse/federation/federation_client.py
parentMerge tag 'v1.1.0' into shhs (diff)
downloadsynapse-400bc061caaab8a41f5186b060c68fece544ce2c.tar.xz
linting
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_client.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py

index 4e62fbf321..f57b09cb94 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py
@@ -1011,8 +1011,7 @@ class FederationClient(FederationBase): """ try: complexity = yield self.transport_layer.get_room_complexity( - destination=destination, - room_id=room_id + destination=destination, room_id=room_id ) defer.returnValue(complexity) except CodeMessageException as e: @@ -1020,12 +1019,13 @@ class FederationClient(FederationBase): # servers don't give it to us. logger.debug( "Failed to fetch room complexity via %s for %s, got a %d", - destination, room_id, e.code + destination, + room_id, + e.code, ) except Exception: logger.exception( - "Failed to fetch room complexity via %s for %s", - destination, room_id + "Failed to fetch room complexity via %s for %s", destination, room_id ) # If we don't manage to find it, return None. It's not an error if a