summaryrefslogtreecommitdiff
path: root/src/leap/eip/eipconnection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/eip/eipconnection.py')
-rw-r--r--src/leap/eip/eipconnection.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/leap/eip/eipconnection.py b/src/leap/eip/eipconnection.py
index f16f01f5..a0fdd77d 100644
--- a/src/leap/eip/eipconnection.py
+++ b/src/leap/eip/eipconnection.py
@@ -1,9 +1,15 @@
"""
EIP Connection Class
"""
+from __future__ import (absolute_import,)
+import logging
+
+logger = logging.getLogger(name=__name__)
+
+from leap.eip.openvpnconnection import (
+ OpenVPNConnection, ConnectionRefusedError)
+from leap.base.connection import ConnectionError
-from leap.OpenVPNConnection import OpenVPNConnection, MissingSocketError, ConnectionRefusedError
-from leap.Connection import ConnectionError
class EIPConnection(OpenVPNConnection):
"""
@@ -39,7 +45,6 @@ class EIPConnection(OpenVPNConnection):
"""
self._disconnect()
self.status.change_to(self.status.DISCONNECTED)
- pass
def shutdown(self):
"""
@@ -262,7 +267,7 @@ class EIPConnectionStatus(object):
cb(self)
-
+# XXX move to exceptions
class EIPClientError(ConnectionError):
"""
base EIPClient Exception