diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-25 16:01:46 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-25 16:01:46 +0100 |
commit | 2ee4c9ee023a50ae7c0800c34c609886fb27298f (patch) | |
tree | 495c0d411ebe3673ac1e786a2bcb39a73936f249 | |
parent | background updates: Fix assertion to do something (diff) | |
download | synapse-2ee4c9ee023a50ae7c0800c34c609886fb27298f.tar.xz |
background updates: fix assert again
-rw-r--r-- | synapse/storage/background_updates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index 321c889b2f..af9bfbbe47 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -88,7 +88,7 @@ class BackgroundUpdateStore(SQLBaseStore): @defer.inlineCallbacks def start_doing_background_updates(self): - assert self._background_update_timer is not None, \ + assert self._background_update_timer is None, \ "background updates already running" logger.info("Starting background schema updates") |