support for virtualenv in pypy

This commit is contained in:
roberto@mrspurr
2012-04-04 17:29:00 +02:00
parent 1a61dfd4e0
commit 43c258ad48
2 changed files with 3 additions and 6 deletions
+2 -1
View File
@@ -427,7 +427,8 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre
doh:
free(mountpoint);
PyErr_Print();
if (PyErr_Occurred())
PyErr_Print();
#ifdef UWSGI_MINTERPRETERS
if (interpreter == NULL && id) {
Py_EndInterpreter(wi->interpreter);