summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-03 18:23:05 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-07 17:44:41 +0100
commit66ebea17235d9d3988d56cd1355656bbb508b3be (patch)
tree965e57941d1aae9ab699b769b0048ef8b1ce4126
parentMove roommember's bg updates to a dedicated store (diff)
downloadsynapse-66ebea17235d9d3988d56cd1355656bbb508b3be.tar.xz
Lint
-rw-r--r--synapse/storage/media_repository.py1
-rw-r--r--synapse/storage/search.py1
-rw-r--r--synapse/storage/state.py4
3 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/media_repository.py b/synapse/storage/media_repository.py
index 2eb2740d07..84b5f3ad5e 100644
--- a/synapse/storage/media_repository.py
+++ b/synapse/storage/media_repository.py
@@ -16,7 +16,6 @@ from synapse.storage.background_updates import BackgroundUpdateStore
 
 
 class MediaRepositoryBackgroundUpdateStore(BackgroundUpdateStore):
-
     def __init__(self, db_conn, hs):
         super(MediaRepositoryBackgroundUpdateStore, self).__init__(db_conn, hs)
 
diff --git a/synapse/storage/search.py b/synapse/storage/search.py
index 9a41e78002..6ba4190f1a 100644
--- a/synapse/storage/search.py
+++ b/synapse/storage/search.py
@@ -337,7 +337,6 @@ class SearchBackgroundUpdateStore(BackgroundUpdateStore):
 
 
 class SearchStore(SearchBackgroundUpdateStore):
-
     def __init__(self, db_conn, hs):
         super(SearchStore, self).__init__(db_conn, hs)
 
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 71b533c006..a941a5ae3f 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -1288,7 +1288,9 @@ class StateGroupWorkerStore(
         return self.runInteraction("store_state_group", _store_state_group_txn)
 
 
-class StateBackgroundUpdateStore(StateGroupBackgroundUpdateStore, BackgroundUpdateStore):
+class StateBackgroundUpdateStore(
+    StateGroupBackgroundUpdateStore, BackgroundUpdateStore
+):
 
     STATE_GROUP_DEDUPLICATION_UPDATE_NAME = "state_group_state_deduplication"
     STATE_GROUP_INDEX_UPDATE_NAME = "state_group_state_type_index"