summaryrefslogtreecommitdiff
path: root/src/leap/mail/incoming/service.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-16 20:26:37 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:43 -0400
commit49f29ea0430d75ab99563e85019fd58ea7370f96 (patch)
tree73bca93a9097be8b89a2344d131890b721dc48a0 /src/leap/mail/incoming/service.py
parent26034f854a3b1cc4a39b2e46b57140af27a08ddc (diff)
return the deferred from the incoming.startService() call
Diffstat (limited to 'src/leap/mail/incoming/service.py')
-rw-r--r--src/leap/mail/incoming/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/incoming/service.py b/src/leap/mail/incoming/service.py
index e52c727..71c356f 100644
--- a/src/leap/mail/incoming/service.py
+++ b/src/leap/mail/incoming/service.py
@@ -190,7 +190,7 @@ class IncomingMail(Service):
Service.startService(self)
if self._loop is None:
self._loop = LoopingCall(self.fetch)
- self._loop.start(self._check_period)
+ return self._loop.start(self._check_period)
else:
logger.warning("Tried to start an already running fetching loop.")