protect another portion against None name

pull/18777/head
Brian Coca 10 years ago committed by Matt Clay
parent 506e6ff2e2
commit d8e91f01b0

@ -410,6 +410,7 @@ def main():
out += out_pip
err += err_pip
if pkg:
for pkg in name:
is_present = _is_present(pkg, version, out.split())
if (state == 'present' and not is_present) or (state == 'absent' and is_present):

Loading…
Cancel
Save