summaryrefslogtreecommitdiff
path: root/src/leap/eip
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/eip')
-rw-r--r--src/leap/eip/eipconnection.py4
-rw-r--r--src/leap/eip/openvpnconnection.py8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/leap/eip/eipconnection.py b/src/leap/eip/eipconnection.py
index bdf70f9c..fea830f3 100644
--- a/src/leap/eip/eipconnection.py
+++ b/src/leap/eip/eipconnection.py
@@ -84,7 +84,7 @@ class EIPConnection(OpenVPNConnection):
"""
entry point for connection process
"""
- self.forget_errors()
+ #self.forget_errors()
self._try_connection()
def disconnect(self):
@@ -120,7 +120,7 @@ class EIPConnection(OpenVPNConnection):
logger.warning('connection refused')
return
if not state:
- logger.debug('no state')
+ #logger.debug('no state')
return
(ts, status_step,
ok, ip, remote) = state
diff --git a/src/leap/eip/openvpnconnection.py b/src/leap/eip/openvpnconnection.py
index a835ead9..14839f6b 100644
--- a/src/leap/eip/openvpnconnection.py
+++ b/src/leap/eip/openvpnconnection.py
@@ -194,10 +194,9 @@ to be triggered for each one of them.
# base class to test independently?)
#
- def forget_errors(self):
- #print('forgetting errors')
- logger.debug('forgetting errors')
- self.with_errors = False
+ #def forget_errors(self):
+ #logger.debug('forgetting errors')
+ #self.with_errors = False
def connect_to_management(self):
"""Connect to openvpn management interface"""
@@ -216,7 +215,6 @@ to be triggered for each one of them.
#self.tn.read_until('SUCCESS:', 2)
self._seek_to_eof()
- #self.forget_errors()
return True
def _seek_to_eof(self):