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

[SCM] Debian package checker branch, master, updated. 2.4.2-27-g78aea41



The following commit has been merged in the master branch:
commit e73541b001ca3936b12c9cae97d3fbd32f8074ff
Author: Russ Allbery <rra@debian.org>
Date:   Sun Jul 25 17:29:59 2010 -0700

    Stop attempting to report unknown tags in html_reports
    
    * reporting/html_reports:
      + [RA] Stop attempting to report unknown tags with a fake
        description.  This was failing with an error later, and the tag was
        probably removed from Lintian and is now erroneous.

diff --git a/debian/changelog b/debian/changelog
index d158eb8..31faa25 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,11 @@ lintian (2.4.3) UNRELEASED; urgency=low
   * private/refresh-insserv-data:
     + [RG] Hardcode the '$all' virtual facility.
 
+  * reporting/html_reports:
+    + [RA] Stop attempting to report unknown tags with a fake
+      description.  This was failing with an error later, and the tag was
+      probably removed from Lintian and is now erroneous.
+
  -- Raphael Geissert <geissert@debian.org>  Fri, 02 Jul 2010 15:22:17 -0500
 
 lintian (2.4.2) unstable; urgency=low
diff --git a/reporting/html_reports b/reporting/html_reports
index 5dd3884..203ff1e 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -461,12 +461,8 @@ for my $id (keys %clean) {
 # the tag and all the packages for which that tag was issued.
 for my $tag (sort keys %by_tag) {
     my $info = Lintian::Tag::Info->new($tag);
-    my $description;
-    if ($info) {
-        $description = $info->description('html', '    ');
-    } else {
-        $description = "    <p>Can't find description of tag $tag.</p>";
-    }
+    next unless $info;
+    my $description = $info->description('html', '    ');
     my ($count, $overrides) = (0, 0);
     my %seen;
     foreach (@{$by_tag{$tag}}) {

-- 
Debian package checker


Reply to: