The following commit has been merged in the master branch:
commit 73c979926fede55ad2e68455f880499fc1c0f121
Author: Russ Allbery <[email protected]>
Date:   Sun Jun 21 21:28:31 2009 -0700

    Fix mismatch between package index template and html_reports
    
    * reporting/html_reports:
      + [RA] Change area back to section in the loop for generating the
        package index pages to be consistent with the page template.
    
    Section here was used in its generic sense, not in the specific Debian
    sense, and gets values like "0-9,A-F" or "G-L".

diff --git a/debian/changelog b/debian/changelog
index 89b99e6..48a9e4e 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ lintian (2.2.13) UNRELEASED; urgency=low
     + [RA] Add changes misspelling.
     + [RA] Fix correction for endianness.  Thanks, Raphael Geissert.
 
+  * reporting/html_reports:
+    + [RA] Change area back to section in the loop for generating the
+      package index pages to be consistent with the page template.
+
  -- Adam D. Barratt <[email protected]>  Fri, 19 Jun 2009 19:11:28 +0100
 
 lintian (2.2.12) unstable; urgency=low
diff --git a/reporting/html_reports b/reporting/html_reports
index b8d4730..c64c924 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -481,9 +481,9 @@ for my $package (sort keys %packages) {
     packages  => \%packages,
 );
 my $i = 1;
-for my $area (sort keys %list) {
-    $data{area} = $area;
-    $data{list} = $list{$area};
+for my $section (sort keys %list) {
+    $data{section} = $section;
+    $data{list} = $list{$section};
     output_template ("packages_$i.html", $templates{packages}, \%data);
     $i++;
 }

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to