Merge pull request #900 from lorin/pip-venv-bug

Retrieve pip path after creating virtualenv
reviewable/pr18780/r1
Michael DeHaan 12 years ago
commit b9880e38b8

3
pip

@ -101,7 +101,6 @@ def main():
out = '' out = ''
env = module.params['virtualenv'] env = module.params['virtualenv']
pip = _find_pip(module, env)
if env: if env:
virtualenv = _find_virtualenv(module) virtualenv = _find_virtualenv(module)
@ -112,6 +111,8 @@ def main():
out += out_venv out += out_venv
err += err_venv err += err_venv
pip = _find_pip(module, env)
state = module.params['state'] state = module.params['state']
name = module.params['name'] name = module.params['name']
version = module.params['version'] version = module.params['version']

Loading…
Cancel
Save