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

pull/2242/head
Michael DeHaan 12 years ago
parent 1e5d5fc263
commit b5ad1ce768

@ -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)

Loading…
Cancel
Save