Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
background updates: Fix assertion to do something
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jul 25, 2016
1 parent bf3de7b commit 9dbd903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/background_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def __init__(self, hs):

@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")

Expand Down

0 comments on commit 9dbd903

Please sign in to comment.