summaryrefslogtreecommitdiff
path: root/src/leap/services
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-05 13:38:12 +0200
committerKali Kaneko <kali@leap.se>2013-08-06 16:50:11 +0200
commitf757e73a4d2fb05e90dba306c4d918f6aa7f1413 (patch)
treeac6354f902ee36d2f2f6ccdd3627aa0e92aa588c /src/leap/services
parent63d1e561c7d3705196216e11dd8bf267de8fb8ff (diff)
start imap service
Diffstat (limited to 'src/leap/services')
-rw-r--r--src/leap/services/mail/imap.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/services/mail/imap.py b/src/leap/services/mail/imap.py
index 65fbe3b5..5fdc7492 100644
--- a/src/leap/services/mail/imap.py
+++ b/src/leap/services/mail/imap.py
@@ -29,6 +29,8 @@ logger = logging.getLogger(__name__)
def start_imap_service(*args, **kwargs):
"""
Initializes and run imap service.
+
+ :returns: twisted.internet.task.LoopingCall instance
"""
logger.debug('Launching imap service')
@@ -36,4 +38,4 @@ def start_imap_service(*args, **kwargs):
log.startLogging(open('/tmp/leap-imap.log', 'w'))
log.startLogging(sys.stdout)
- imap.run_service(*args, **kwargs)
+ return imap.run_service(*args, **kwargs)