summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba4/Python.pm
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-21 03:10:10 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-28 23:06:44 +0200
commita73a2abb3a2ec79016ddcf5f0994025dd705975d (patch)
treea6f229113f4c6159dd78db0bc29545db7c38b49d /pidl/lib/Parse/Pidl/Samba4/Python.pm
parent65c5278f4d8e07275db02f146afb847d91cd6596 (diff)
downloadsamba-a73a2abb3a2ec79016ddcf5f0994025dd705975d.tar.gz
samba-a73a2abb3a2ec79016ddcf5f0994025dd705975d.tar.bz2
samba-a73a2abb3a2ec79016ddcf5f0994025dd705975d.zip
pidl/Python: use has_property($d, "noopnum") helper function
metze
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba4/Python.pm')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
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");