From: Georg Brandl Date: Sat, 16 Jun 2007 17:08:58 +0000 (+0200) Subject: [svn] Fix 2.4ism. X-Git-Tag: 2.0rc1~289 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=378d0224af38709abc37439a82b1f8a619edead8;p=jinja2.git [svn] Fix 2.4ism. --HG-- branch : trunk --- diff --git a/jinja/_debugger.c b/jinja/_debugger.c index f58aace..736ad52 100644 --- a/jinja/_debugger.c +++ b/jinja/_debugger.c @@ -42,7 +42,8 @@ tb_set_next(PyObject *self, PyObject *args) tb->tb_next = (PyTracebackObject *)next; Py_XDECREF(old); - Py_RETURN_NONE; + Py_INCREF(Py_None); + return Py_None; }