X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=bugreport;h=b68a6c65bbba7e644beb68512d177e74b0a9fba9;hp=25e293a43c1a0ecbbb7e54be2ab83a9cd1d413b3;hb=HEAD;hpb=e3a6541c0aed15b79158efd93ac3a064cc475bf8 diff --git a/bugreport b/bugreport index 25e293a..b68a6c6 100755 --- a/bugreport +++ b/bugreport @@ -136,6 +136,7 @@ sub MakeStatistics { my $ignoretotal=0; # Total number of bugs marked ignore my $worrytotal=0; # Total number of bugs we're actually worried about my $stabletotal=0; # Total number of bugs affecting stable + my $oldstabletotal=0; # Total number of bugs affecting oldstable my %list; # List of bugnumber associated with package my %seen_bugs; # bugs which have already been counted @@ -199,7 +200,7 @@ sub FilterBugsStable() { $scanlib::packagelist{$p} = [ grep { scanlib::check_worry_stable($scanlib::bugs{$_}) } @{$scanlib::packagelist{$p}} ]; delete $scanlib::packagelist{$p} if (scalar @{$scanlib::packagelist{$p}} == 0); } - +} sub FilterBugsOldStable() { for my $p (sort keys %scanlib::packagelist) { $scanlib::packagelist{$p} = [ grep { scanlib::check_worry_oldstable($scanlib::bugs{$_}) } @{$scanlib::packagelist{$p}} ];