Pylint corrections
Pylint 2.0 was complaining. Cosmetic fixes to make it stop.
This commit is contained in:
parent
b2fdbb950a
commit
027abd8ac3
@ -134,6 +134,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
|||||||
if self.verify_only.isChecked():
|
if self.verify_only.isChecked():
|
||||||
self.backup_restore.options.verify_only = True
|
self.backup_restore.options.verify_only = True
|
||||||
|
|
||||||
|
# pylint: disable=assignment-from-no-return
|
||||||
self.vms_to_restore = self.backup_restore.get_restore_info()
|
self.vms_to_restore = self.backup_restore.get_restore_info()
|
||||||
|
|
||||||
for vmname in self.vms_to_restore:
|
for vmname in self.vms_to_restore:
|
||||||
@ -182,7 +183,7 @@ class RestoreVMsWindow(ui_restoredlg.Ui_Restore, QtGui.QWizard):
|
|||||||
self.__fill_vms_list__()
|
self.__fill_vms_list__()
|
||||||
|
|
||||||
elif self.currentPage() is self.confirm_page:
|
elif self.currentPage() is self.confirm_page:
|
||||||
|
# pylint: disable=assignment-from-no-return
|
||||||
self.vms_to_restore = self.backup_restore.get_restore_info()
|
self.vms_to_restore = self.backup_restore.get_restore_info()
|
||||||
|
|
||||||
for i in range(self.select_vms_widget.available_list.count()):
|
for i in range(self.select_vms_widget.available_list.count()):
|
||||||
|
@ -8,3 +8,6 @@ def updates_vms_status(*args, **kwargs):
|
|||||||
|
|
||||||
def size_to_human(*args, **kwargs):
|
def size_to_human(*args, **kwargs):
|
||||||
return args[0]
|
return args[0]
|
||||||
|
|
||||||
|
def vm_dependencies(*args):
|
||||||
|
return args[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user