git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c5278
)
pidl/Python: use has_property($d, "noopnum") helper function
author
Stefan Metzmacher
<metze@samba.org>
Tue, 21 Sep 2010 01:10:10 +0000
(
03:10
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 28 Sep 2010 21:06:44 +0000
(23:06 +0200)
metze
pidl/lib/Parse/Pidl/Samba4/Python.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index e9c9567eb2f98d7e1f5a50627d5f9aed1f7387eb..45d33b8055353ca4911cd242e805764aed989bfc 100644
(file)
--- 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");