summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-25 14:05:23 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-25 14:05:23 +0100
commit9dbd903f4108c81499205ff80d9d420911fd0f54 (patch)
tree57a29a2c8937796987ef4c33720480d86037e94e /synapse/storage
parentMerge pull request #945 from matrix-org/rav/background_reindex (diff)
downloadsynapse-9dbd903f4108c81499205ff80d9d420911fd0f54.tar.xz
background updates: Fix assertion to do something
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/background_updates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py
index 2771f7c3c1..321c889b2f 100644
--- a/synapse/storage/background_updates.py
+++ b/synapse/storage/background_updates.py
@@ -88,8 +88,8 @@ class BackgroundUpdateStore(SQLBaseStore):
 
     @defer.inlineCallbacks
     def start_doing_background_updates(self):
-        assert(self._background_update_timer is not None,
-               "background updates already running")
+        assert self._background_update_timer is not None, \
+            "background updates already running"
 
         logger.info("Starting background schema updates")