Merge pull request #7808 from joelcrocker/patch-1

Updates django_manage so it populates VIRTUAL_ENV
This commit is contained in:
James Cammarata 2014-06-17 16:45:51 -05:00
commit 8e0c610200

View file

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