summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-24 02:41:59 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:18:10 -0400
commitec2592773d6f36194075ef45ce75fd129b05e155 (patch)
treee7094e862d414b32ef624a5870af8d1f7fdbecbc
parent772613c32b4b2fe78fc132072cf391072334a26c (diff)
[feature] comment out debugging stdout
-rw-r--r--src/leap/bitmask/vpn/process.py5
-rw-r--r--src/leap/bitmask/vpn/tunnel.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index b9c84563..1ef54341 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -103,6 +103,11 @@ class _VPNProcess(protocol.ProcessProtocol):
# processProtocol methods
+ def outReceived(self, data):
+ # use this to debug failed invocations.
+ # print data
+ pass
+
@defer.inlineCallbacks
def _got_management_protocol(self, proto):
self.proto = proto
diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py
index 7b53d9e9..7dd1d25b 100644
--- a/src/leap/bitmask/vpn/tunnel.py
+++ b/src/leap/bitmask/vpn/tunnel.py
@@ -30,7 +30,7 @@ from .constants import IS_WIN
from .process import VPNProcess
-# The restarts are not really needed, since we're configuring
+# The restarts are not really needed, since we're configuring
# openvpn to restart itself after a period of inactivity. However, if the
# openvpn process is killed by whatever reason, # we'll automatically try to
# restart the process.