X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=bugreport;h=fd8355f1484931ada038bada9aaf7d98d2f182c3;hp=facc662108f9c4497e7394521fba7747dcc11f0b;hb=246a1a61c82587bdf5208187659f14be0d358e43;hpb=58e5d0d29c328af4ea46abed36a388c3d91876e2 diff --git a/bugreport b/bugreport index facc662..fd8355f 100755 --- a/bugreport +++ b/bugreport @@ -152,12 +152,12 @@ sub MakeStatistics() { } if ($html) { - print "Total number of release-critical bugs: $bugcount
\n"; + print "Total number of release-critical bugs: $bugcount
\n"; printf("Number that have a patch: %d
\n", $patchtotal); printf("Number that have a fix prepared and waiting to upload: %d
\n", $pendingtotal); printf("Number that are being ignored: %d
\n", $ignoretotal); - printf("Number concerning the current stable release: %d
\n", $stabletotal); - printf("Number concerning the next release: %d

\n", $worrytotal); + printf("Number concerning the current stable release: %d
\n", $stabletotal); + printf("Number concerning the next release: %d

\n", $worrytotal); } else { print "Total number of release-critical bugs: $bugcount\n"; printf("Number that have a patch: %d\n", $patchtotal); @@ -173,7 +173,8 @@ sub FilterPackages($) { my $filter = shift; # Distribution we want to keep for my $p (sort keys %scanlib::packagelist) { - delete $scanlib::packagelist{$p} unless ($scanlib::section{$p} =~ m/^$filter/); + delete $scanlib::packagelist{$p} unless (defined $scanlib::section{$p} and + $scanlib::section{$p} =~ m/^$filter/); } }