diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-24 02:41:59 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:18:10 -0400 |
commit | ec2592773d6f36194075ef45ce75fd129b05e155 (patch) | |
tree | e7094e862d414b32ef624a5870af8d1f7fdbecbc /src/leap | |
parent | 772613c32b4b2fe78fc132072cf391072334a26c (diff) |
[feature] comment out debugging stdout
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/vpn/process.py | 5 | ||||
-rw-r--r-- | src/leap/bitmask/vpn/tunnel.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py index b9c8456..1ef5434 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 7b53d9e..7dd1d25 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. |