summaryrefslogtreecommitdiff
path: root/service/pixelated/config
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated/config')
-rw-r--r--service/pixelated/config/leap.py2
-rw-r--r--service/pixelated/config/sessions.py5
2 files changed, 2 insertions, 5 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py
index 52a70f3e..2b3a242a 100644
--- a/service/pixelated/config/leap.py
+++ b/service/pixelated/config/leap.py
@@ -99,7 +99,7 @@ class BootstrapUserServices(object):
log.warn('{0}: {1}. Closing session for user: {2}'.format(e.__class__.__name__, e, user_auth.username))
if leap_session:
leap_session.close()
- raise e
+ raise
@defer.inlineCallbacks
def _setup_user_services(self, leap_session):
diff --git a/service/pixelated/config/sessions.py b/service/pixelated/config/sessions.py
index b4d69d29..eb233a9f 100644
--- a/service/pixelated/config/sessions.py
+++ b/service/pixelated/config/sessions.py
@@ -18,9 +18,7 @@ from __future__ import absolute_import
import os
import errno
-import traceback
import requests
-import sys
from twisted.internet import defer, threads, reactor
from twisted.logger import Logger
@@ -35,10 +33,9 @@ from leap.common.events import (
catalog as events
)
-from pixelated.bitmask_libraries.keymanager import Keymanager, UploadKeyError
+from pixelated.bitmask_libraries.keymanager import Keymanager
from pixelated.adapter.mailstore import LeapMailStore
from pixelated.config import leap_config
-from pixelated.bitmask_libraries.certs import LeapCertificate
from pixelated.bitmask_libraries.smtp import LeapSMTPConfig
logger = Logger()