From a657c9f7e21d3e335d6419af4fa57dc6ce50d9df Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 5 Mar 2018 00:42:44 +0100 Subject: [style] pep8 --- src/leap/bitmask/vpn/helpers/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/leap/bitmask/vpn/helpers') diff --git a/src/leap/bitmask/vpn/helpers/__init__.py b/src/leap/bitmask/vpn/helpers/__init__.py index 9641e035..54b29cb0 100644 --- a/src/leap/bitmask/vpn/helpers/__init__.py +++ b/src/leap/bitmask/vpn/helpers/__init__.py @@ -20,7 +20,8 @@ if IS_LINUX: 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, OPENVPN_SNAP + from leap.bitmask.vpn.constants import OPENVPN_SYSTEM, OPENVPN_LOCAL + from leap.bitmask.vpn.constants import OPENVPN_SNAP from leap.bitmask.vpn.constants import POLKIT_SYSTEM, POLKIT_LOCAL from leap.bitmask.vpn.privilege import is_pkexec_in_system from leap.bitmask.vpn.privilege import LinuxPolicyChecker @@ -95,11 +96,13 @@ if IS_LINUX: helper_path_digest = digest(helper_path) if (_exists_and_can_read(BITMASK_ROOT_SYSTEM) and helper_path_digest == digest(BITMASK_ROOT_SYSTEM)): - log.debug('Global bitmask-root: %s' % os.path.isfile(BITMASK_ROOT_SYSTEM)) + log.debug('Global bitmask-root: %s' + % os.path.isfile(BITMASK_ROOT_SYSTEM)) return True if (_exists_and_can_read(BITMASK_ROOT_LOCAL) and helper_path_digest == digest(BITMASK_ROOT_LOCAL)): - log.debug('Local bitmask-root: %s' % os.path.isfile(BITMASK_ROOT_LOCAL)) + log.debug('Local bitmask-root: %s' + % os.path.isfile(BITMASK_ROOT_LOCAL)) return True log.debug('No valid bitmask-root found') -- cgit v1.2.3