summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-04 11:17:40 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-09 17:53:09 +0100
commite34637b2a69b5af6f6ac997d5e0d4b786f3c9935 (patch)
treeef6dcae7b93167f6430934d3530178ce4ec4ba0e /source4/scripting
parenta0ac6a86321c2eea404a22ef6330a261f03547a4 (diff)
downloadsamba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.tar.gz
samba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.tar.bz2
samba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.zip
s4:Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/pyglue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index 6ef7033128..5279a0b295 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -35,10 +35,6 @@
#include "param/pyparam.h"
#include "auth/credentials/pycredentials.h"
-#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) \