[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: r/html-reports: Correct groups-known stat



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 5a243ec4149f4b563359345f5f0f239dd1a9ec47
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Feb 9 22:31:46 2015 +0100

    r/html-reports: Correct groups-known stat
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 reporting/html_reports | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reporting/html_reports b/reporting/html_reports
index fd9003c..ef34e94 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -648,7 +648,7 @@ for my $section (sort keys %list) {
 if (-f $statistics_file) {
     ($old_statistics) = read_dpkg_control($statistics_file);
 }
-$statistics{'groups-known'} = scalar(keys(%{$STATE_CACHE}));
+$statistics{'groups-known'} = scalar(keys(%{$STATE_CACHE->{'groups'}));
 $statistics{'groups-backlog'}
   = scalar(find_backlog($LINTIAN_VERSION,$STATE_CACHE));
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: