$total++;
$pendingcount++ if ($bug->{'pending'});
$patchcount++ if ($bug->{'patch'});
- $ignorecount++ if ($bug->{'wheezy-ignore'} || $bug->{'squeeze-ignore'});
+ $ignorecount++ if ($bug->{$bugcfg::debian_releases->{stable}.'-ignore'} ||
+ $bug->{$bugcfg::debian_releases->{testing}.'-ignore'});
$worrycount++ if (scanlib::check_worry($bug));
$stablecount++ if (scanlib::check_worry_stable($bug));
}