From 04cf9b81eb37898f8251daf302341f1b639ab827 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Thu, 4 Feb 2010 11:25:06 +0100 Subject: [PATCH] pidl - Remove "Py_RETURN_NONE" compatibility code This was needed only by Python 2.3 which we no longer support. --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 015c54dcace..781d640cabd 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1132,10 +1132,6 @@ sub Parse($$$$$) #include \"$hdr\" #include \"$ndr_hdr\" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - "); foreach my $x (@$ndr) { -- 2.25.1