From 378d0224af38709abc37439a82b1f8a619edead8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 16 Jun 2007 19:08:58 +0200 Subject: [PATCH] [svn] Fix 2.4ism. --HG-- branch : trunk --- jinja/_debugger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.26.2