From 5c8f19b5983e3b022d4d751c109de00d61ffd4a8 Mon Sep 17 00:00:00 2001 From: donoban Date: Sat, 27 Oct 2018 13:21:33 +0200 Subject: [PATCH] Fix pylint --- qubesmanager/create_new_vm.py | 3 ++- qubesmanager/restore.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qubesmanager/create_new_vm.py b/qubesmanager/create_new_vm.py index 7b968a6..5949833 100644 --- a/qubesmanager/create_new_vm.py +++ b/qubesmanager/create_new_vm.py @@ -182,7 +182,8 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg): if not self.thread.msg: if self.launch_settings.isChecked(): - subprocess.check_call(['qubes-vm-settings', str(self.name.text())]) + subprocess.check_call(['qubes-vm-settings', + str(self.name.text())]) if self.install_system.isChecked(): subprocess.check_call( ['qubes-vm-boot-from-device', str(self.name.text())]) diff --git a/qubesmanager/restore.py b/qubesmanager/restore.py index f61068e..10cfda8 100644 --- a/qubesmanager/restore.py +++ b/qubesmanager/restore.py @@ -228,7 +228,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard): QtGui.QMessageBox.warning( None, self.tr("Restore qubes"), - self.tr(self.thread.msg) + self.tr(self.thread.msg)) if self.thread.msg: self.append_output(self.thread.msg)