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

Commit

Permalink
fix: defer.returnValue takes one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed Jul 25, 2016
1 parent 2ee4c9e commit 955ef1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/background_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def start_doing_background_updates(self):
"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):
Expand Down

0 comments on commit 955ef1f

Please sign in to comment.