summaryrefslogtreecommitdiffstats
path: root/pidl
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-04 11:25:06 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-09 17:53:09 +0100
commit04cf9b81eb37898f8251daf302341f1b639ab827 (patch)
treec038d0c3b2e6998123b599f2f201fdd6ef4adf4b /pidl
parente34637b2a69b5af6f6ac997d5e0d4b786f3c9935 (diff)
downloadsamba-04cf9b81eb37898f8251daf302341f1b639ab827.tar.gz
samba-04cf9b81eb37898f8251daf302341f1b639ab827.tar.xz
samba-04cf9b81eb37898f8251daf302341f1b639ab827.zip
pidl - Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm4
1 files changed, 0 insertions, 4 deletions
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) {