X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=scanlib.pm;h=4b828a3711c6229e86958c6ac21460e7a4995410;hp=47f8baf642c8d18b5f081589a0c557341ee2f409;hb=342acf15c7b4c41f134874051613ef1b3becf956;hpb=b1cb1dd16a9ae966b9f45e12f2aacde39958d17b diff --git a/scanlib.pm b/scanlib.pm index 47f8baf..4b828a3 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -312,14 +312,14 @@ sub htmlsanit { return $in; } -sub wwwnumber() { +sub wwwnumber { my $number = shift; # Number of bug to html-ize "' . htmlsanit($number) . ''; } -sub wwwname() { +sub wwwname { my $name = shift; # Name of package "{'testing'} && !$bi->{$bugcfg::debian_releases->{testing}.'-ignore'}); + return ($bi->{$dist} && !$bi->{$bugcfg::debian_releases->{$dist}.'-ignore'}); } +sub check_worry_testing { + return check_worry($_[0],'testing'); +} sub check_worry_stable { - my ($bi) = @_; - - return ($bi->{'stable'} && !$bi->{$bugcfg::debian_releases->{stable}.'-ignore'}); + return check_worry($_[0],'stable'); +} +sub check_worry_oldstable { + return check_worry($_[0],'oldstable'); } sub check_worry_unstable {