summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-05-15 08:43:53 -0500
committerKali Kaneko <kali@leap.se>2014-05-15 08:53:50 -0500
commit8a4b9c176a5ca9c9236283b1d6191872c0d3582b (patch)
tree0220678dd27bc5ff1ff292e91c7d142a0ec91ced
parent02b7b4a35d45671542f1e665767e9227c81207af (diff)
remove commented block, fix typo
-rw-r--r--src/leap/bitmask/services/eip/linuxvpnlauncher.py15
-rw-r--r--src/leap/bitmask/services/eip/vpnprocess.py2
2 files changed, 1 insertions, 16 deletions
diff --git a/src/leap/bitmask/services/eip/linuxvpnlauncher.py b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
index 9e6176cb..1f0813e0 100644
--- a/src/leap/bitmask/services/eip/linuxvpnlauncher.py
+++ b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
@@ -150,21 +150,6 @@ class LinuxVPNLauncher(VPNLauncher):
logger.warning("System has no pkexec")
raise EIPNoPkexecAvailable()
- #@classmethod
- #def missing_other_files(kls):
- #"""
- #'Extend' the VPNLauncher's missing_other_files to check if the polkit
- #files is outdated, in the case of an standalone bundle.
- #If the polkit file that is in OTHER_FILES exists but is not up to date,
- #it is added to the missing list.
-#
- #:returns: a list of missing files
- #:rtype: list of str
- #"""
- # we use `super` in order to send the class to use
- #missing = super(LinuxVPNLauncher, kls).missing_other_files()
- #return missing
-
@classmethod
def get_vpn_command(kls, eipconfig, providerconfig, socket_host,
socket_port="unix", openvpn_verb=1):
diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py
index 420db971..d57eafe2 100644
--- a/src/leap/bitmask/services/eip/vpnprocess.py
+++ b/src/leap/bitmask/services/eip/vpnprocess.py
@@ -253,7 +253,7 @@ class VPN(object):
if self._vpnproc.transport.pid is None:
logger.debug("Process has been happily terminated.")
- # we try to bring the firewall up
+ # we try to tear the firewall down
if IS_LINUX and self._user_stopped:
firewall_down = self._tear_down_firewall()
if firewall_down: