Fix pylint

This commit is contained in:
donoban 2018-10-27 13:21:33 +02:00
parent c42203098f
commit 5c8f19b598
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5
2 changed files with 3 additions and 2 deletions

View File

@ -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())])

View File

@ -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)