Pylint corrections

Pylint 2.0 was complaining. Cosmetic fixes to make it stop.
This commit is contained in:
Marta Marczykowska-Górecka 2018-07-20 00:25:27 +02:00
parent b2fdbb950a
commit 027abd8ac3
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
2 changed files with 5 additions and 1 deletions

View File

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

View File

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