mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
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:
commit
3327638a03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user