Lintfix: E7801, C0321

This commit is contained in:
Bo Maryniuk 2015-09-10 14:47:57 +02:00
parent cb4706c7e8
commit b60e6a37a7

View File

@ -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