summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-03-01 20:31:25 +0100
committerKali Kaneko <kali@leap.se>2018-03-01 20:31:25 +0100
commit6ef686862980581318dd8b42981cc8f90738ee50 (patch)
tree9112b8bd9f7a7514f05e9bf93d85f35ad800299a
parent2babe2e0ff4fd0caefe41cff946f9d625e6936c2 (diff)
[style] pep8
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py1
-rw-r--r--src/leap/bitmask/vpn/helpers/__init__.py6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py
index e133089d..e9bf122b 100755
--- a/src/leap/bitmask/cli/bitmask_cli.py
+++ b/src/leap/bitmask/cli/bitmask_cli.py
@@ -168,7 +168,6 @@ def execute():
"%s" % str(e))
yield reactor.stop()
-
cli.data = []
cli.print_json = print_json
args = sys.argv[1:]
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py
index 467b15ff..8ec50999 100644
--- a/src/leap/bitmask/vpn/helpers/__init__.py
+++ b/src/leap/bitmask/vpn/helpers/__init__.py
@@ -81,9 +81,9 @@ if IS_LINUX:
openvpn_path = _config.get_bitmask_openvpn_path()
if openvpn_path is None:
# If Bitmask does not provide any openvpn binary
- # (we are not in a bundle: either running from debian packages, git or pip)
- # reporting an error on check will trigger an attempt to install
- # helpers that can not be successful.
+ # (we are not in a bundle: either running from debian packages, git
+ # or pip) reporting an error on check will trigger an attempt to
+ # install helpers that can not be successful.
# XXX: we need a better way to flag errors that can not be solved
# by installing helpers
return True