diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-03-27 19:12:03 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-03-28 23:51:27 +0200 |
commit | 65ae3b5349eb02f938c3987a1e91d2641b0f94bc (patch) | |
tree | 7d8cdafa42220c0e1730117605e63dfc2fc2d048 | |
parent | 60903c2515391384b67f9d3a7c6d5c810db0e946 (diff) |
[refactor] remove unused imports
-rw-r--r-- | src/leap/bitmask/gui/anonvpn.py | 6 | ||||
-rw-r--r-- | src/leap/bitmask/gui/app.py | 2 | ||||
-rw-r--r-- | src/leap/bitmask/gui/app2.py | 7 |
3 files changed, 0 insertions, 15 deletions
diff --git a/src/leap/bitmask/gui/anonvpn.py b/src/leap/bitmask/gui/anonvpn.py index 18b2514e..51aefc2b 100644 --- a/src/leap/bitmask/gui/anonvpn.py +++ b/src/leap/bitmask/gui/anonvpn.py @@ -23,19 +23,13 @@ Launches bitmaskd and then launches the systray. import subprocess import os -import platform -import signal -import sys -from functools import partial from multiprocessing import Process from leap.bitmask.util import here from leap.bitmask.core.launcher import run_bitmaskd, pid from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken from leap.bitmask.gui.housekeeping import check_stale_pidfile -from leap.bitmask.gui.housekeeping import NoAuthTokenError -from leap.common.config import get_path_prefix bitmaskd = None diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py index 20942294..70c0051f 100644 --- a/src/leap/bitmask/gui/app.py +++ b/src/leap/bitmask/gui/app.py @@ -32,13 +32,11 @@ from multiprocessing import Process from leap.bitmask.system import IS_WIN from leap.bitmask.core.launcher import run_bitmaskd, pid -from leap.bitmask.gui import app_rc from leap.bitmask.gui.systray import WithTrayIcon from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken from leap.bitmask.gui.housekeeping import get_authenticated_url from leap.bitmask.gui.housekeeping import NoAuthTokenError from leap.bitmask.gui.housekeeping import check_stale_pidfile -from leap.common.config import get_path_prefix HAS_WEBENGINE = False diff --git a/src/leap/bitmask/gui/app2.py b/src/leap/bitmask/gui/app2.py index 6a83e1f6..5ec76b7b 100644 --- a/src/leap/bitmask/gui/app2.py +++ b/src/leap/bitmask/gui/app2.py @@ -23,15 +23,9 @@ For the moment, it requires also qt5 for the systray, but we should move to a native solution on each platform. """ -import getpass import os -import platform -import signal import sys -import time -import webbrowser -from functools import partial from multiprocessing import Process import webview @@ -40,7 +34,6 @@ import psutil from PyQt5.QtWidgets import QApplication from leap.bitmask.core.launcher import run_bitmaskd, pid -from leap.common.config import get_path_prefix from leap.bitmask.gui.systray import WithTrayIcon from leap.bitmask.gui.housekeeping import cleanup, terminate, reset_authtoken |