From e34637b2a69b5af6f6ac997d5e0d4b786f3c9935 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 4 Feb 2010 11:17:40 +0100 Subject: s4:Remove "Py_RETURN_NONE" compatibility code This was needed only by Python 2.3 which we no longer support. --- source4/ntvfs/posix/python/pyxattr_native.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source4/ntvfs/posix/python/pyxattr_native.c') diff --git a/source4/ntvfs/posix/python/pyxattr_native.c b/source4/ntvfs/posix/python/pyxattr_native.c index 9b60039a38..7dcb5dd37a 100644 --- a/source4/ntvfs/posix/python/pyxattr_native.c +++ b/source4/ntvfs/posix/python/pyxattr_native.c @@ -23,10 +23,6 @@ #include "librpc/ndr/libndr.h" #include "lib/util/wrap_xattr.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static PyObject *py_is_xattr_supported(PyObject *self) { #if !defined(HAVE_XATTR_SUPPORT) -- cgit