Merge pull request #7232 from hulu/pip-state-tweak

pip state: despite the name, pkg_list is a dict; initialize accordingly
This commit is contained in:
Erik Johnson 2013-09-13 16:47:43 -07:00
commit 3327638a03

View File

@ -327,7 +327,7 @@ def installed(name,
ret['comment'] = ' '.join(comments)
else:
if not prefix:
pkg_list = []
pkg_list = {}
else:
pkg_list = __salt__['pip.list'](
prefix, bin_env, user=user, cwd=cwd