fix bugcfg usage in bugcounts
authorDon Armstrong <don@donarmstrong.com>
Sun, 8 Dec 2013 00:10:32 +0000 (16:10 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 8 Dec 2013 00:10:32 +0000 (16:10 -0800)
bugcounts

index 15455ab..ae678a8 100755 (executable)
--- a/bugcounts
+++ b/bugcounts
@@ -49,8 +49,8 @@ for my $bug (values %scanlib::bugs) {
        $total++;
        $pendingcount++ if ($bug->{'pending'});
        $patchcount++ if ($bug->{'patch'});
-       $ignorecount++ if ($bug->{$debian_releases->{stable}.'-ignore'} ||
-                       $bug->{$debian_releases->{testing}.'-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));
 }