Commit 705057b9 by Michael DeHaan

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

Retrieve pip path after creating virtualenv
parents 229ab158 8223d3ee
...@@ -101,7 +101,6 @@ def main(): ...@@ -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(): ...@@ -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']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment