From ec2592773d6f36194075ef45ce75fd129b05e155 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 24 Aug 2017 02:41:59 -0400 Subject: [feature] comment out debugging stdout --- src/leap/bitmask/vpn/process.py | 5 +++++ src/leap/bitmask/vpn/tunnel.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/leap/bitmask') 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. -- cgit v1.2.3