From 199d2d5b1cfdb4186da38e6e07192eb726883946 Mon Sep 17 00:00:00 2001 From: Unbit Date: Tue, 29 Nov 2016 08:36:56 +0100 Subject: removed useless garbage introduced in #1408 --- plugins/python/pyutils.c | 1 - plugins/python/wsgi_subhandler.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/pyutils.c b/plugins/python/pyutils.c index 77041a12..f4b1ef3d 100644 --- a/plugins/python/pyutils.c +++ b/plugins/python/pyutils.c @@ -146,7 +146,6 @@ struct uwsgi_buffer *uwsgi_python_backtrace(struct wsgi_request *wsgi_req) { } - uwsgi_log("OK\n"); Py_DECREF(result); goto end; diff --git a/plugins/python/wsgi_subhandler.c b/plugins/python/wsgi_subhandler.c index d733dcae..0116fdea 100644 --- a/plugins/python/wsgi_subhandler.c +++ b/plugins/python/wsgi_subhandler.c @@ -235,6 +235,7 @@ void *uwsgi_request_subhandler_wsgi(struct wsgi_request *wsgi_req, struct uwsgi_ if (PyTuple_SetItem(wsgi_req->async_args, 0, wsgi_req->async_environ)) { // this is a hack cleaning up bad references when using the cheating allocator + // check https://github.com/unbit/uwsgi/issues/1408 PyObject *tmp_async_args = (PyObject *) wsgi_req->async_args; if (tmp_async_args->ob_refcnt > 1) { PyErr_Clear(); -- cgit v1.2.1