Removed unneeded try/except

This commit is contained in:
donoban 2018-07-12 01:19:20 +02:00
parent bd919e44c1
commit 632f23c298
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -969,12 +969,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
settings_window = settings.VMSettingsWindow(
vm, self.qt_app, "basic")
settings_window.exec_()
# vm could be deleted on renaming
try:
self.vms_in_table[vm.qid].update()
except exc.QubesPropertyAccessError:
pass
self.vms_in_table[vm.qid].update()
# noinspection PyArgumentList