From e0919beec1accfbe9a15df0c9139be0d74dbe408 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Tue, 2 Jul 2019 16:04:04 -0700 Subject: [PATCH] Squash more PyLint warnings This definitely worked before, and I haven't touched this code recently so I have no idea why these errors are just now popping up... but whatever. --- qubesmanager/global_settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qubesmanager/global_settings.py b/qubesmanager/global_settings.py index 5f79f9d..2fb8867 100644 --- a/qubesmanager/global_settings.py +++ b/qubesmanager/global_settings.py @@ -269,11 +269,11 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings, repos = dict() for i in _run_qrexec_repo('qubes.repos.List').split('\n'): - l = i.split('\0') + lst = i.split('\0') # Keyed by repo name - d = repos[l[0]] = dict() - d['prettyname'] = l[1] - d['enabled'] = l[2] == 'enabled' + dct = repos[lst[0]] = dict() + dct['prettyname'] = lst[1] + dct['enabled'] = lst[2] == 'enabled' if repos['qubes-dom0-unstable']['enabled']: self.dom0_updates_repo.setCurrentIndex(3)