summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/_base.py1
-rw-r--r--synapse/storage/events.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 5d86aa5cd4..b529e0543e 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -27,7 +27,6 @@ from twisted.internet import defer
 
 from collections import namedtuple, OrderedDict
 
-import contextlib
 import functools
 import sys
 import time
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 98a5663932..25fb49a28d 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -629,7 +629,7 @@ class EventsStore(SQLBaseStore):
 
     @defer.inlineCallbacks
     def _fetch_events(self, txn, events, check_redacted=True,
-                     get_prev_content=False, allow_rejected=False):
+                      get_prev_content=False, allow_rejected=False):
         if not events:
             defer.returnValue({})