summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-06-27 11:40:27 +0100
committerAmber Brown <hawkowl@atleastfornow.net>2018-06-27 11:40:27 +0100
commit99800de63ddec41125c6e1c779c33f96f1cad848 (patch)
tree4e9232b8e2874060580be85733f82bfe1ec547d9 /synapse
parentpep8 (diff)
downloadsynapse-99800de63ddec41125c6e1c779c33f96f1cad848.tar.xz
try and clean up
Diffstat (limited to 'synapse')
-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)