summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-30 16:23:10 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:23:10 -0400
commita24368a01fd7bc2671f0abbb23a9397815afc0bb (patch)
treea96c6d4183d4504c0d78c5153dc62e1fe2fcdf12
parent997c3d6aaee429b6fda2294c1465319f4dc434bc (diff)
[refactor] remove verbose debug info
-rw-r--r--src/leap/bitmask/vpn/fw/firewall.py3
-rw-r--r--src/leap/bitmask/vpn/process.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/bitmask/vpn/fw/firewall.py b/src/leap/bitmask/vpn/fw/firewall.py
index 5100a5e..9cd65ed 100644
--- a/src/leap/bitmask/vpn/fw/firewall.py
+++ b/src/leap/bitmask/vpn/fw/firewall.py
@@ -113,8 +113,6 @@ class _LinuxFirewallManager(object):
if restart:
cmd.append("restart")
-
- print "LAUNCHING FIREWALL..."
result = '<did not run>'
try:
retcode, result = commands.getstatusoutput(
@@ -123,7 +121,6 @@ class _LinuxFirewallManager(object):
log.failure('Error launching the firewall')
finally:
log.debug(result)
- print "LAUNCHED FIREWALL", result
emit_async(catalog.VPN_STATUS_CHANGED)
return True
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index 8c61db2..93e73d9 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -113,7 +113,7 @@ class _VPNProcess(protocol.ProcessProtocol):
def outReceived(self, data):
# use this to debug failed invocations.
- print("DEBUG VPN: %s" % data)
+ # print("DEBUG VPN: %s" % data)
pass
@defer.inlineCallbacks