From b60e6a37a721975fc385f699114e6185245e919e Mon Sep 17 00:00:00 2001 From: Bo Maryniuk Date: Thu, 10 Sep 2015 14:47:57 +0200 Subject: [PATCH] Lintfix: E7801, C0321 --- salt/modules/dpkg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/dpkg.py b/salt/modules/dpkg.py index ea76bb87ae..3433e1be64 100644 --- a/salt/modules/dpkg.py +++ b/salt/modules/dpkg.py @@ -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