diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-25 14:05:23 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-25 14:05:23 +0100 |
commit | 9dbd903f4108c81499205ff80d9d420911fd0f54 (patch) | |
tree | 57a29a2c8937796987ef4c33720480d86037e94e /synapse | |
parent | Merge pull request #945 from matrix-org/rav/background_reindex (diff) | |
download | synapse-9dbd903f4108c81499205ff80d9d420911fd0f54.tar.xz |
background updates: Fix assertion to do something
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/background_updates.py | 4 |
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") |