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.
This commit is contained in:
parent
6a5823b74a
commit
e0919beec1
@ -269,11 +269,11 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
|
|||||||
|
|
||||||
repos = dict()
|
repos = dict()
|
||||||
for i in _run_qrexec_repo('qubes.repos.List').split('\n'):
|
for i in _run_qrexec_repo('qubes.repos.List').split('\n'):
|
||||||
l = i.split('\0')
|
lst = i.split('\0')
|
||||||
# Keyed by repo name
|
# Keyed by repo name
|
||||||
d = repos[l[0]] = dict()
|
dct = repos[lst[0]] = dict()
|
||||||
d['prettyname'] = l[1]
|
dct['prettyname'] = lst[1]
|
||||||
d['enabled'] = l[2] == 'enabled'
|
dct['enabled'] = lst[2] == 'enabled'
|
||||||
|
|
||||||
if repos['qubes-dom0-unstable']['enabled']:
|
if repos['qubes-dom0-unstable']['enabled']:
|
||||||
self.dom0_updates_repo.setCurrentIndex(3)
|
self.dom0_updates_repo.setCurrentIndex(3)
|
||||||
|
Loading…
Reference in New Issue
Block a user