summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-10-11 18:46:05 +0200
committerKali Kaneko <kali@leap.se>2017-10-11 18:46:05 +0200
commit8c180223b21268d4fd0f75d0655fb5ca2fe27704 (patch)
tree48540ee322fec8faccef2cf755cc73b1df63b393 /src/leap/bitmask
parent70a5078e052abd621a3563e1e0fd0f396ea570d2 (diff)
[style] pep8
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/core/__init__.py1
-rw-r--r--src/leap/bitmask/util.py2
-rw-r--r--src/leap/bitmask/vpn/helpers/__init__.py3
3 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/bitmask/core/__init__.py b/src/leap/bitmask/core/__init__.py
index 5af0f38f..35adb84c 100644
--- a/src/leap/bitmask/core/__init__.py
+++ b/src/leap/bitmask/core/__init__.py
@@ -11,6 +11,7 @@ def dummy_imports():
import mail_services
import dispatcher
+
APPNAME = "bitmask.core"
if platform.system() == 'Windows':
ENDPOINT = "tcp://127.0.0.1:5001"
diff --git a/src/leap/bitmask/util.py b/src/leap/bitmask/util.py
index 2cbea6e6..bd3d7442 100644
--- a/src/leap/bitmask/util.py
+++ b/src/leap/bitmask/util.py
@@ -85,7 +85,7 @@ def get_gpg_bin_path():
gpgbin = os.path.abspath(
os.path.join(here(), "apps", "mail", "gpg.exe"))
elif platform.system() == "Darwin":
- gpgbin = '/Applications/Bitmask.app/Contents/Resources/gpg'
+ gpgbin = '/Applications/Bitmask.app/Contents/Resources/gpg'
else:
gpgbin = os.path.abspath(
os.path.join(here(), "..", "apps", "mail", "gpg"))
diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py
index 9be2150d..0378448d 100644
--- a/src/leap/bitmask/vpn/helpers/__init__.py
+++ b/src/leap/bitmask/vpn/helpers/__init__.py
@@ -10,7 +10,8 @@ from leap.bitmask.util import STANDALONE
if IS_LINUX:
- from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM, BITMASK_ROOT_LOCAL
+ from leap.bitmask.vpn.constants import BITMASK_ROOT_SYSTEM
+ from leap.bitmask.vpn.constants import BITMASK_ROOT_LOCAL
from leap.bitmask.vpn.constants import OPENVPN_SYSTEM, OPENVPN_LOCAL
from leap.bitmask.vpn.constants import POLKIT_SYSTEM, POLKIT_LOCAL
from leap.bitmask.vpn.privilege import is_pkexec_in_system