error fixed in nailgun/nailgun/wsgi.py

This commit is contained in:
Vladimir Kozhukalov 2012-06-05 17:24:43 +04:00
parent 76e47bfc36
commit 9155d67014

View File

@ -20,9 +20,9 @@ import sys
import site
if VENV:
if nailgun.venv.VENV:
prev_sys_path = list(sys.path)
site.addsitedir(VENV)
site.addsitedir(nailgun.venv.VENV)
new_sys_path = []
for item in list(sys.path):