From: Daniel P. Berrange Date: Thu, 7 Jul 2011 15:03:22 +0000 (+0100) Subject: Skip bugs which are CLOSED in todo list X-Git-Tag: v0.9.4-rc1~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52312385c0331d14e2010fc3da9bccb063a4b966;p=thirdparty%2Flibvirt.git Skip bugs which are CLOSED in todo list * docs/todo.pl: Skip closed bugs --- diff --git a/docs/todo.pl b/docs/todo.pl index e6da41845b..1183ff50c8 100755 --- a/docs/todo.pl +++ b/docs/todo.pl @@ -47,6 +47,8 @@ my $trackers = BZ::Client::Bug->search($client, {'product' => $product, my @trackers; foreach my $tracker (@{$trackers}) { + next if $tracker->{'bug_status'} eq "CLOSED"; + my $summary = $tracker->{'short_desc'}; $summary =~ s/^\s*RFE\s*:\s*//; $summary =~ s/^\s*\[\s*RFE\s*\]\s*:?\s*//; @@ -64,6 +66,8 @@ foreach my $tracker (@trackers) { 'blocked' => $tracker->{id}}); foreach my $feature (@{$features}) { + next if $feature->{'bug_status'} eq "CLOSED"; + my $summary = $feature->{'short_desc'}; $summary =~ s/^\s*RFE\s*:\s*//; $summary =~ s/^\s*\[\s*RFE\s*\]\s*:?\s*//;