summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-03-27 19:12:03 +0200
committerKali Kaneko <kali@leap.se>2018-03-28 23:51:27 +0200
commit65ae3b5349eb02f938c3987a1e91d2641b0f94bc (patch)
tree7d8cdafa42220c0e1730117605e63dfc2fc2d048
parent60903c2515391384b67f9d3a7c6d5c810db0e946 (diff)
[refactor] remove unused imports
-rw-r--r--src/leap/bitmask/gui/anonvpn.py6
-rw-r--r--src/leap/bitmask/gui/app.py2
-rw-r--r--src/leap/bitmask/gui/app2.py7
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