Browse Source

spring cleaning part 4

remove old imports
Wojtek Porczyk 7 years ago
parent
commit
f5d83d31dd

+ 1 - 6
qubesmanager/appmenu_select.py

@@ -25,11 +25,6 @@ import os
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from qubes.qubes import QubesVmCollection
-from qubes.qubes import QubesException
-from qubes.qubes import QubesDaemonPidfile
-from qubes.qubes import QubesHost
-
 import qubesmanager.resources_rc
 
 from pyinotify import WatchManager, Notifier, ThreadedNotifier, EventsCodes, ProcessEvent
@@ -55,7 +50,7 @@ class AppmenuSelectManager:
     def __init__(self, vm, apps_multiselect, parent=None):
 
         self.app_list = apps_multiselect # this is a multiselect wiget
-        
+
         self.vm = vm
         if self.vm.template:
             self.source_vm = self.vm.template

+ 1 - 2
qubesmanager/backup_utils.py

@@ -27,7 +27,6 @@ from PyQt4.QtGui import *
 
 import subprocess
 import time
-from qubes.qubes import QubesException
 
 from thread_monitor import *
 
@@ -111,4 +110,4 @@ def simulate_long_lasting_proces(period, progress_callback):
         time.sleep(1)
 
     progress_callback(100)
-    return 0
+    return 0

+ 0 - 1
qubesmanager/clipboard.py

@@ -26,7 +26,6 @@ import os
 import fcntl
 from math import log
 
-from qubes.qubes import QubesException
 from PyQt4.QtGui import QApplication
 
 APPVIEWER_LOCK = "/var/run/qubes/appviewer.lock"

+ 0 - 4
qubesmanager/firewall.py

@@ -28,10 +28,6 @@ from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 import datetime
 
-from qubes.qubes import QubesVmCollection
-from qubes.qubes import QubesException
-from qubes.qubes import dry_run
-
 import ui_newfwruledlg