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

[SCM] Debian package checker branch, master, updated. 2.1.0-10-gdce5a42



The following commit has been merged in the master branch:
commit dce5a421e0268da1d55fffbfb993ced979c7c35e
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Sun Nov 30 11:13:50 2008 +0000

    Fix some uninitialized value warnings when checking a package.
    
    * lib/Lintian/Output/ColonSeparated.pm:
      + Fix uninitialized value warnings by displaying the type code
        rather than the (no longer present in description files) Type field
        and handling non-overriden tags.

diff --git a/debian/changelog b/debian/changelog
index 69df061..3e8df01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,10 @@ lintian (2.1.1) unstable; urgency=low
   * lib/Lintian/Output.pm:
     + [ADB] Make sure the default list of colours is initialised before
       attempting to use it.  Thanks, gregor herrmann.  (Closes: #507241)
+  * lib/Lintian/Output/ColonSeparated.pm:
+    + [ADB] Fix uninitialized value warnings by displaying the type code
+      rather than the (no longer present in description files) Type field
+      and handling non-overriden tags.
   * lib/Lintian/Output/XML.pm:
     + [ADB] Add a missing angle bracket to the closing "tag" tag, so that
       the XML is well-formed.
diff --git a/lib/Lintian/Output/ColonSeparated.pm b/lib/Lintian/Output/ColonSeparated.pm
index c738da7..8bce0a6 100644
--- a/lib/Lintian/Output/ColonSeparated.pm
+++ b/lib/Lintian/Output/ColonSeparated.pm
@@ -33,7 +33,7 @@ sub print_tag {
 
     $self->_print(
 	'tag',
-	$tag_info->{type},
+	Tags::get_tag_code($tag_info),
 	$tag_info->{severity},
 	$tag_info->{certainty},
 	(exists($tag_info->{experimental}) ? 'X' : '').
@@ -41,7 +41,7 @@ sub print_tag {
 	@{$pkg_info}{'pkg','version','arch','type'},
 	$tag_info->{tag},
 	$extra,
-	$tag_info->{overridden}{override},
+	$tag_info->{overridden}{override} || '',
 	);
 }
 

-- 
Debian package checker


Reply to: