From 8f8bd93957a6cb10b3797d1f57d387f479f5ee01 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 16 Jan 2015 20:26:37 -0400 Subject: return the deferred from the incoming.startService() call --- mail/src/leap/mail/incoming/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/src/leap/mail/incoming/service.py b/mail/src/leap/mail/incoming/service.py index e52c727..71c356f 100644 --- a/mail/src/leap/mail/incoming/service.py +++ b/mail/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.") -- cgit v1.2.3