summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-08-13 12:50:36 +0100
committerGitHub <noreply@github.com>2019-08-13 12:50:36 +0100
commit96bdd661b88f373826ea25baa94199cf2b8d25f9 (patch)
treefd869d35c93e613775b99e0069e6a2a2fd917fb9 /synapse/push
parentClarify docstring (diff)
downloadsynapse-96bdd661b88f373826ea25baa94199cf2b8d25f9.tar.xz
Remove redundant return
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/emailpusher.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py
index f688d4152d..42e5b0c0a5 100644
--- a/synapse/push/emailpusher.py
+++ b/synapse/push/emailpusher.py
@@ -247,7 +247,6 @@ class EmailPusher(object):
             # The pusher has been deleted while we were processing, so
             # lets just stop and return.
             self.on_stop()
-            return
 
     def seconds_until(self, ts_msec):
         secs = (ts_msec - self.clock.time_msec()) / 1000