summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-16 11:18:45 +0100
committerErik Johnston <erik@matrix.org>2015-04-16 11:18:45 +0100
commite1c0970c116fe3700fc80401dc50aeb9d52c45a6 (patch)
tree10736ce912a4b03d64ab37f75bbb2ffbb4ff2552
parentGo back to storing JSON in TEXT (diff)
downloadsynapse-e1c0970c116fe3700fc80401dc50aeb9d52c45a6.tar.xz
PEP8
-rw-r--r--synapse/handlers/_base.py1
-rw-r--r--synapse/storage/engines/sqlite3.py2
-rw-r--r--synapse/storage/pusher.py3
3 files changed, 0 insertions, 6 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py
index e4471dd9b6..dffb033fbd 100644
--- a/synapse/handlers/_base.py
+++ b/synapse/handlers/_base.py
@@ -16,7 +16,6 @@
 from twisted.internet import defer
 
 from synapse.api.errors import LimitExceededError, SynapseError
-from synapse.util.async import run_on_reactor
 from synapse.crypto.event_signing import add_hashes_and_signatures
 from synapse.api.constants import Membership, EventTypes
 from synapse.types import UserID
diff --git a/synapse/storage/engines/sqlite3.py b/synapse/storage/engines/sqlite3.py
index dd0d8e0e0f..72c11df461 100644
--- a/synapse/storage/engines/sqlite3.py
+++ b/synapse/storage/engines/sqlite3.py
@@ -15,8 +15,6 @@
 
 from synapse.storage import prepare_database, prepare_sqlite3_database
 
-import types
-
 
 class Sqlite3Engine(object):
     def __init__(self, database_module):
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index 5c1c3d32e6..a44bccdca6 100644
--- a/synapse/storage/pusher.py
+++ b/synapse/storage/pusher.py
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-import collections
-
 from ._base import SQLBaseStore, Table
 from twisted.internet import defer
 
@@ -167,4 +165,3 @@ class PusherStore(SQLBaseStore):
 
 class PushersTable(Table):
     table_name = "pushers"
-