summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-07-02 12:14:22 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-07-14 12:14:20 -0300
commitcf75e3575c33249a6f756dceb423c6ec7f6cd50e (patch)
treede71034a3dcd8dc3d74a6761d88419832bbe0635 /src/leap/bitmask/backend
parent4a5e136f3b6e68d65df4a5be83504e05043aeaa1 (diff)
Move the backend starter to its own file.
Diffstat (limited to 'src/leap/bitmask/backend')
-rw-r--r--src/leap/bitmask/backend/leapbackend.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/leap/bitmask/backend/leapbackend.py b/src/leap/bitmask/backend/leapbackend.py
index d6b0954a..4794d988 100644
--- a/src/leap/bitmask/backend/leapbackend.py
+++ b/src/leap/bitmask/backend/leapbackend.py
@@ -18,7 +18,6 @@
Backend for everything
"""
import logging
-import signal
import zope.interface
import zope.proxy
@@ -503,11 +502,3 @@ class LeapBackend(Backend):
imap_stopped
"""
self._mail.stop_imap_service()
-
-
-def run_backend(bypass_checks=False):
- # Ensure that the application quits using CTRL-C
- signal.signal(signal.SIGINT, signal.SIG_DFL)
-
- backend = LeapBackend(bypass_checks=bypass_checks)
- backend.run()