From 9c3a713ff33c87af03b31ec9ad018a6ca3dfbb97 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 18 Apr 2016 16:22:02 -0400 Subject: [style] autopep8 --- src/leap/bitmask/app.py | 1 + src/leap/bitmask/services/eip/darwinvpnlauncher.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/leap') diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index 31dba157..e5189e23 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -76,6 +76,7 @@ codecs.register(lambda name: codecs.lookup('utf-8') if name == 'cp65001' else None) import psutil + def qt_hack_ubuntu(): """Export two env vars to avoid gui corruption, see #8028""" os.environ['QT_GRAPHICSSYSTEM'] = 'native' diff --git a/src/leap/bitmask/services/eip/darwinvpnlauncher.py b/src/leap/bitmask/services/eip/darwinvpnlauncher.py index 94161192..e697b118 100644 --- a/src/leap/bitmask/services/eip/darwinvpnlauncher.py +++ b/src/leap/bitmask/services/eip/darwinvpnlauncher.py @@ -112,7 +112,8 @@ class DarwinVPNLauncher(VPNLauncher): :returns: True if kext is loaded, False otherwise. :rtype: bool """ - loaded = bool(commands.getoutput('kextstat | grep "net.sf.tuntaposx.tun"')) + loaded = bool(commands.getoutput( + 'kextstat | grep "net.sf.tuntaposx.tun"')) if not loaded: logger.error("tuntaposx extension not loaded!") return loaded -- cgit v1.2.3