Fix pylint
This commit is contained in:
parent
c42203098f
commit
5c8f19b598
@ -182,7 +182,8 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
|
|||||||
|
|
||||||
if not self.thread.msg:
|
if not self.thread.msg:
|
||||||
if self.launch_settings.isChecked():
|
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():
|
if self.install_system.isChecked():
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
['qubes-vm-boot-from-device', str(self.name.text())])
|
['qubes-vm-boot-from-device', str(self.name.text())])
|
||||||
|
@ -228,7 +228,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
|||||||
QtGui.QMessageBox.warning(
|
QtGui.QMessageBox.warning(
|
||||||
None,
|
None,
|
||||||
self.tr("Restore qubes"),
|
self.tr("Restore qubes"),
|
||||||
self.tr(self.thread.msg)
|
self.tr(self.thread.msg))
|
||||||
|
|
||||||
if self.thread.msg:
|
if self.thread.msg:
|
||||||
self.append_output(self.thread.msg)
|
self.append_output(self.thread.msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user