diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-04 11:17:40 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-09 17:53:09 +0100 |
commit | e34637b2a69b5af6f6ac997d5e0d4b786f3c9935 (patch) | |
tree | ef6dcae7b93167f6430934d3530178ce4ec4ba0e /source4/lib/com | |
parent | a0ac6a86321c2eea404a22ef6330a261f03547a4 (diff) | |
download | samba-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/lib/com')
-rw-r--r-- | source4/lib/com/pycom.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c index 86e794e173..3323ca645e 100644 --- a/source4/lib/com/pycom.c +++ b/source4/lib/com/pycom.c @@ -23,10 +23,6 @@ #include "librpc/ndr/libndr.h" #include "libcli/util/pyerrors.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static struct com_context *py_com_ctx = NULL; /* FIXME: evil global */ static PyObject *py_get_class_object(PyObject *self, PyObject *args) |