summaryrefslogtreecommitdiff
path: root/source4/dsdb
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/dsdb
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/dsdb')
-rw-r--r--source4/dsdb/pydsdb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index bdac7902aa..64b7266e72 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.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
-
/* FIXME: These should be in a header file somewhere, once we finish moving
* away from SWIG .. */
#define PyErr_LDB_OR_RAISE(py_ldb, ldb) \