diff --git a/qubesmanager/restore.py b/qubesmanager/restore.py index b36ec52..18e628c 100644 --- a/qubesmanager/restore.py +++ b/qubesmanager/restore.py @@ -134,6 +134,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard): if self.verify_only.isChecked(): self.backup_restore.options.verify_only = True + # pylint: disable=assignment-from-no-return self.vms_to_restore = self.backup_restore.get_restore_info() for vmname in self.vms_to_restore: @@ -182,7 +183,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard): self.__fill_vms_list__() elif self.currentPage() is self.confirm_page: - + # pylint: disable=assignment-from-no-return self.vms_to_restore = self.backup_restore.get_restore_info() for i in range(self.select_vms_widget.available_list.count()): diff --git a/test-packages/qubesadmin/utils.py b/test-packages/qubesadmin/utils.py index 6915104..bd109e0 100644 --- a/test-packages/qubesadmin/utils.py +++ b/test-packages/qubesadmin/utils.py @@ -8,3 +8,6 @@ def updates_vms_status(*args, **kwargs): def size_to_human(*args, **kwargs): return args[0] + +def vm_dependencies(*args): + return args[0]