mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-06-28 05:47:07 -04:00
Fix pyflakes warnings
This commit is contained in:
parent
15ab5f5ad8
commit
7acede1e42
4 changed files with 4 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue