mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Lintfix: E7801, C0321
This commit is contained in:
parent
cb4706c7e8
commit
b60e6a37a7
@ -346,7 +346,8 @@ def _get_pkg_ds_avail():
|
||||
nfo = dict()
|
||||
for line in (pkg_mrk + pkg_info).split(os.linesep):
|
||||
line = line.split(": ", 1)
|
||||
if len(line) != 2: continue
|
||||
if len(line) != 2:
|
||||
continue
|
||||
key, value = line
|
||||
if value.strip():
|
||||
nfo[key.lower()] = value
|
||||
|
Loading…
Reference in New Issue
Block a user