summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 18:45:07 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 20:06:24 +0100
commitc8d888772a855b6f9b7f4b06412b1b4c84174ef8 (patch)
treea0dbc4e08724b1ec22d1699deb1e85523adff4ae /source4/web_server
parent65bcde23346c16e044e7587de1e7a6fc130b276f (diff)
downloadsamba-c8d888772a855b6f9b7f4b06412b1b4c84174ef8.tar.gz
samba-c8d888772a855b6f9b7f4b06412b1b4c84174ef8.tar.bz2
samba-c8d888772a855b6f9b7f4b06412b1b4c84174ef8.zip
s4:dsdb/pydsdb.c and web_server/wsgi.c - remove accidentally introduced Py_RETURN_NONE
This was only thought for Python 2.3 which we generally no longer support (only pyldb in the LDB library is an exception).
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/wsgi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c
index 03e12857c0..73e668ebfd 100644
--- a/source4/web_server/wsgi.c
+++ b/source4/web_server/wsgi.c
@@ -34,10 +34,6 @@ typedef inquiry lenfunc;
typedef intargfunc ssizeargfunc;
#endif
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
typedef struct {
PyObject_HEAD
struct websrv_context *web;