summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-07-25 16:04:45 +0100
committerMark Haines <mark.haines@matrix.org>2016-07-25 16:04:45 +0100
commit955ef1f06caee7385cb5ef21477b4d0490889c3c (patch)
tree58a6f8c06fd23a8e3c1008bf059d3db098f1610c /synapse
parentbackground updates: fix assert again (diff)
downloadsynapse-955ef1f06caee7385cb5ef21477b4d0490889c3c.tar.xz
fix: defer.returnValue takes one argument
Diffstat (limited to '')
-rw-r--r--synapse/storage/background_updates.py2
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):