spring cleaning part 4

remove old imports
This commit is contained in:
Wojtek Porczyk 2017-06-26 17:54:11 +02:00
parent 64913fd968
commit f5d83d31dd
4 changed files with 2 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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