pidl:Samba/Python: don't generate methods for functions marked as [todo]
authorStefan Metzmacher <metze@samba.org>
Thu, 11 Mar 2010 23:52:30 +0000 (00:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Mar 2010 14:25:40 +0000 (15:25 +0100)
metze

pidl/lib/Parse/Pidl/Samba4/Python.pm

index 781d640cabdc69e51d074651a5aaa6e77285bf05..a6c2738ddca4ce6e9c19df3c9f37b2f22a4152e2 100644 (file)
@@ -648,6 +648,7 @@ sub Interface($$$)
                foreach my $d (@{$interface->{FUNCTIONS}}) {
                        next if not defined($d->{OPNUM});
                        next if has_property($d, "nopython");
+                       next if has_property($d, "todo");
 
                        my $prettyname = $d->{NAME};