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

[SCM] Debian package checker branch, master, updated. 2.3.4-33-g4d7501e



The following commit has been merged in the master branch:
commit 066662e2446c91f215b5e15f8d1d1aa8d20dcb53
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Wed Jan 6 22:18:37 2010 +0000

    Don't describe .changes files as packages

diff --git a/lib/Lintian/Output.pm b/lib/Lintian/Output.pm
index 12038a4..4405db2 100644
--- a/lib/Lintian/Output.pm
+++ b/lib/Lintian/Output.pm
@@ -334,8 +334,13 @@ Lintian::Output uses v_msg() for output.  Called from Tags::select_pkg().
 sub print_start_pkg {
     my ($self, $pkg_info) = @_;
 
+    my $object = "package";
+    if ($pkg_info->{type} eq 'changes') {
+	$object = "file";
+    }
+
     $self->v_msg($self->delimiter,
-		 "Processing $pkg_info->{type} package $pkg_info->{package} (version $pkg_info->{version}) ...");
+		 "Processing $pkg_info->{type} $object $pkg_info->{package} (version $pkg_info->{version}) ...");
 }
 
 =item C<print_start_pkg($pkg_info)>

-- 
Debian package checker


Reply to: