From 04cf9b81eb37898f8251daf302341f1b639ab827 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 4 Feb 2010 11:25:06 +0100 Subject: 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(-) (limited to 'pidl/lib/Parse') diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 015c54dcac..781d640cab 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) { -- cgit