2 files changed, 2 insertions, 4 deletions
diff --git a/synapse/storage/schema/delta/56/stats_separated2.py b/synapse/storage/schema/delta/56/stats_separated2.py
index 07b1d982ed..c5e3208adb 100644
--- a/synapse/storage/schema/delta/56/stats_separated2.py
+++ b/synapse/storage/schema/delta/56/stats_separated2.py
@@ -15,7 +15,7 @@
# This schema delta will be run after 'stats_separated1.sql' due to lexicographic
# ordering. Note that it MUST be so.
-from synapse.storage.engines import Sqlite3Engine, PostgresEngine
+from synapse.storage.engines import PostgresEngine, Sqlite3Engine
def _run_create_generic(stats_type, cursor, database_engine):
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 4c3db891c8..2f34535498 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -76,9 +76,7 @@ class StatsStore(StateDeltasStore):
# we no longer need to perform clean-up, but we will give ourselves
# the potential to reintroduce it in the future – so documentation
# will still encourage the use of this no-op handler.
- self.register_noop_background_update(
- "populate_stats_cleanup"
- )
+ self.register_noop_background_update("populate_stats_cleanup")
def quantise_stats_time(self, ts):
"""
|