From a73a2abb3a2ec79016ddcf5f0994025dd705975d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 21 Sep 2010 03:10:10 +0200 Subject: pidl/Python: use has_property($d, "noopnum") helper function metze --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse') diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index e9c9567eb2..45d33b8055 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -655,7 +655,7 @@ sub Interface($$$) my @fns = (); foreach my $d (@{$interface->{FUNCTIONS}}) { - next if not defined($d->{OPNUM}); + next if has_property($d, "noopnum"); next if has_property($d, "nopython"); next if has_property($d, "todo"); -- cgit