fix: defer.returnValue takes one argument

pull/949/head
Mark Haines 2016-07-25 16:04:45 +01:00
parent 2ee4c9ee02
commit 955ef1f06c
1 changed files with 1 additions and 1 deletions

View File

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