summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-08-28 13:51:50 +0100
committerMark Haines <mark.haines@matrix.org>2014-08-28 13:51:50 +0100
commit7acede1e42d2a1b8442bc4b30dba792b034caeed (patch)
tree262796202e149bd80f6b7dd4849f531d2d3931ca /synapse/handlers/federation.py
parentMerge backfill_ and backfill in federation handler (diff)
downloadsynapse-7acede1e42d2a1b8442bc4b30dba792b034caeed.tar.xz
Fix pyflakes warnings
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 220dbbb3a9..606e1f1817 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -22,8 +22,6 @@ from synapse.api.constants import Membership
 from synapse.util.logutils import log_function
 from synapse.federation.pdu_codec import PduCodec
 
-from synapse.api.errors import AuthError
-
 from twisted.internet import defer
 
 import logging
@@ -146,7 +144,7 @@ class FederationHandler(BaseHandler):
 
         else:
             with (yield self.room_lock.lock(event.room_id)):
-                store_id = yield self.store.persist_event(event, backfilled)
+                yield self.store.persist_event(event, backfilled)
 
             room = yield self.store.get_room(event.room_id)