From: Matthias Dieter Wallnöfer Date: Thu, 4 Feb 2010 10:25:06 +0000 (+0100) Subject: pidl - Remove "Py_RETURN_NONE" compatibility code X-Git-Tag: samba-3.6.0pre1~5494 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=04cf9b81eb37898f8251daf302341f1b639ab827;ds=sidebyside pidl - Remove "Py_RETURN_NONE" compatibility code This was needed only by Python 2.3 which we no longer support. --- 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) {