From 6f155ebf176991cb74123ef44f8e733fb0842b9d Mon Sep 17 00:00:00 2001 From: "roberto@maverick64" Date: Wed, 6 Jul 2011 19:43:28 +0200 Subject: [PATCH] spooler object debug --- plugins/python/uwsgi_pymodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index ec8488a3..e0503cda 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -1293,7 +1293,9 @@ PyObject *py_uwsgi_send_spool(PyObject * self, PyObject * args, PyObject *kw) { key = PyTuple_GetItem(zero, 0); val = PyTuple_GetItem(zero, 1); +#ifdef UWSGI_DEBUG uwsgi_log("ob_type %s %s\n", key->ob_type->tp_name, val->ob_type->tp_name); +#endif if (PyString_Check(key) && PyString_Check(val)) {