Merge pull request #7808 from joelcrocker/patch-1

Updates django_manage so it populates VIRTUAL_ENV
pull/7752/merge
James Cammarata 11 years ago
commit 8e0c610200

@ -144,6 +144,7 @@ def _ensure_virtualenv(module):
_fail(module, vcmd, out_venv, err_venv) _fail(module, vcmd, out_venv, err_venv)
os.environ["PATH"] = "%s:%s" % (vbin, os.environ["PATH"]) os.environ["PATH"] = "%s:%s" % (vbin, os.environ["PATH"])
os.environ["VIRTUAL_ENV"] = venv_param
def createcachetable_filter_output(line): def createcachetable_filter_output(line):
return "Already exists" not in line return "Already exists" not in line

Loading…
Cancel
Save