Commit b5ad1ce7 by Michael DeHaan

In django module if no virtualenv is specified, don't choke

parent 1e5d5fc2
......@@ -109,7 +109,10 @@ def _fail(module, cmd, out, err, **kwargs):
def _ensure_virtualenv(module):
venv_param = module.params['virtualenv']
if venv_param is None:
return
virtualenv = module.get_bin_path('virtualenv', True)
......
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