[svn] Fix 2.4ism.
authorGeorg Brandl <georg@python.org>
Sat, 16 Jun 2007 17:08:58 +0000 (19:08 +0200)
committerGeorg Brandl <georg@python.org>
Sat, 16 Jun 2007 17:08:58 +0000 (19:08 +0200)
--HG--
branch : trunk

jinja/_debugger.c

index f58aace46e97dffb7cf5220e5deee8f2623df201..736ad52c88a19fbd6173d5d90fd5861ac56f3d14 100644 (file)
@@ -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;
 }