summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index c4d96749a3..13117d70fe 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -232,8 +232,10 @@ class FederationHandler(BaseHandler):
                 raise FederationError(
                     "ERROR",
                     403,
-                    ("Your server isn't divulging details about prev_events "
-                     "referenced in this event."),
+                    (
+                        "Your server isn't divulging details about prev_events "
+                        "referenced in this event."
+                    ),
                     affected=pdu.event_id,
                 )
             elif prevs - seen:
@@ -252,7 +254,8 @@ class FederationHandler(BaseHandler):
                         state, got_auth_chain = (
                             yield self.replication_layer.get_state_for_room(
                                 origin, pdu.room_id, p
-                        ))
+                            )
+                        )
                         auth_chains.update(got_auth_chain)
                         state_group = {(x.type, x.state_key): x.event_id for x in state}
                         state_groups.append(state_group)