Merge pull request #1330 from wzzrd/pip

Test for python-pip as well as pip
This commit is contained in:
Michael DeHaan 2012-10-14 06:57:15 -07:00
commit 036f853d42

View file

@ -135,7 +135,9 @@ def main():
out += out_venv
err += err_venv
pip = module.get_bin_path('pip', True, ['%s/bin' % env])
pip = module.get_bin_path('python-pip', False, ['%s/bin' % env])
if not pip:
pip = module.get_bin_path('pip', True, ['%s/bin' % env])
state = module.params['state']
name = module.params['name']