summaryrefslogtreecommitdiff
path: root/src/leap/eip/openvpnconnection.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-11 08:23:22 +0900
committerkali <kali@leap.se>2012-10-11 08:23:22 +0900
commitb70a6664f0603297bf8b20809b5a64677900b405 (patch)
tree2071e7d53a5e0ae774a166294ba5253b54548e46 /src/leap/eip/openvpnconnection.py
parent5dbe01e4dd22fba66d9553c062b89ae9c3a39256 (diff)
add signal to end of eip checks
this fixes random error on leap initialization
Diffstat (limited to 'src/leap/eip/openvpnconnection.py')
-rw-r--r--src/leap/eip/openvpnconnection.py8
1 files changed, 3 insertions, 5 deletions
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):