diff options
author | kali <kali@leap.se> | 2013-05-01 04:14:15 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-05-01 04:14:15 +0900 |
commit | 6acb92af4fef12ec0fad3741c58dee8ae3457d12 (patch) | |
tree | 9ed4440a25b855e0929344ac7b4631fbdb1a7826 /src/leap/platform_init | |
parent | 722afd140b3d8bc8915e9ff34dbc8039c87dba63 (diff) |
pep8
Diffstat (limited to 'src/leap/platform_init')
-rw-r--r-- | src/leap/platform_init/initializers.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/leap/platform_init/initializers.py b/src/leap/platform_init/initializers.py index cf7e71b8..7e184d8a 100644 --- a/src/leap/platform_init/initializers.py +++ b/src/leap/platform_init/initializers.py @@ -120,8 +120,9 @@ def _darwin_has_tun_kext(): has_kext = os.path.isdir("/System/Library/Extensions/tun.kext") has_startup = os.path.isdir("/System/Library/StartupItems/tun") has_tun_and_startup = has_kext and has_startup - logger.debug('platform initializer check: has tun_and_startup = %s' % - (has_tun_and_startup,)) + logger.debug( + 'platform initializer check: has tun_and_startup = %s' % + (has_tun_and_startup,)) return has_tun_and_startup @@ -155,10 +156,11 @@ def DarwinInitializer(): ret = msg.exec_() if ret == QtGui.QMessageBox.Yes: - installer_path = os.path.join(os.getcwd(), - "..", - "Resources", - "tuntap-installer.app") + installer_path = os.path.join( + os.getcwd(), + "..", + "Resources", + "tuntap-installer.app") if os.path.isdir(installer_path): cmd = ["open %s" % (installer_path,)] try: |