Redefined variable type

Marked places where redefining variable type was actually sensible as
such.
This commit is contained in:
Marta Marczykowska-Górecka 2017-11-09 17:09:55 +01:00
parent 0115c931d2
commit 59a9b7da40
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
def __init_mem_defaults__(self):
# pylint: disable=redefined-variable-type
#qmemman settings
self.qmemman_config = ConfigParser()
self.vm_min_mem_val = '200MiB' #str(qmemman_algo.MIN_PREFMEM)

View File

@ -65,7 +65,7 @@ def prepare_choice(widget, holder, propname, choice, default,
choice_list = filter(_filter_internal, choice_list)
if filter_function is not None:
choice_list = filter(filter_function, choice_list)
choice_list = list(choice_list)
choice_list = list(choice_list) # pylint: disable=redefined-variable-type
if allow_default:
choice_list.insert(0, qubesadmin.DEFAULT)