From 632f23c29841cad26b404a09d592b57892bfee73 Mon Sep 17 00:00:00 2001 From: donoban Date: Thu, 12 Jul 2018 01:19:20 +0200 Subject: [PATCH] Removed unneeded try/except --- qubesmanager/qube_manager.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 66fa99f..fefe5ac 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -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