From 59a9b7da402a48af4fe35f2c575b1d2a77ce9032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Thu, 9 Nov 2017 17:09:55 +0100 Subject: [PATCH] Redefined variable type Marked places where redefining variable type was actually sensible as such. --- qubesmanager/global_settings.py | 2 +- qubesmanager/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/global_settings.py b/qubesmanager/global_settings.py index 96f0fab..5e3ea60 100644 --- a/qubesmanager/global_settings.py +++ b/qubesmanager/global_settings.py @@ -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) diff --git a/qubesmanager/utils.py b/qubesmanager/utils.py index 115ab8f..6138139 100644 --- a/qubesmanager/utils.py +++ b/qubesmanager/utils.py @@ -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)