diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-07-25 16:04:45 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-07-25 16:04:45 +0100 |
commit | 955ef1f06caee7385cb5ef21477b4d0490889c3c (patch) | |
tree | 58a6f8c06fd23a8e3c1008bf059d3db098f1610c /synapse/storage/background_updates.py | |
parent | background updates: fix assert again (diff) | |
download | synapse-955ef1f06caee7385cb5ef21477b4d0490889c3c.tar.xz |
fix: defer.returnValue takes one argument
Diffstat (limited to 'synapse/storage/background_updates.py')
-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 af9bfbbe47..30d0e4c5dc 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -115,7 +115,7 @@ class BackgroundUpdateStore(SQLBaseStore): "No more background updates to do." " Unscheduling background update task." ) - defer.returnValue() + defer.returnValue(None) @defer.inlineCallbacks def do_next_background_update(self, desired_duration_ms): |