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

lintian: r320 - trunk/checks



Author: djpig
Date: 2004-07-04 14:10:47 +0200 (Sun, 04 Jul 2004)
New Revision: 320

Modified:
   trunk/checks/debconf
Log:
two occourrences of print "W: foo" were overlooked


Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf	2004-07-03 19:21:21 UTC (rev 319)
+++ trunk/checks/debconf	2004-07-04 12:10:47 UTC (rev 320)
@@ -151,7 +151,7 @@
     } elsif ($template->{description}=~m/^\s*(.*?)\s*?\n\s*\1\s*$/) {
 	# Check for duplication. Should all this be folded into the
 	# description checks?
-	print "W: $pkg $type: duplicate-long-description-in-template ",
+	tag "duplicate-long-description-in-template ",
 	      "$template->{template}\n";
     }
 
@@ -161,7 +161,7 @@
 	my ($mainfield, $lang) = split m/-/, $field, 2;
 	if (defined $lang) {
 	    if ($isselect and $mainfield eq 'default') {
-	        print "W: $pkg $type: select-with-translated-default-field ",
+	        tag "select-with-translated-default-field ",
 	              "$template->{template} $lang\n";
 	    }
 	    $languages{$lang}{$mainfield}=1;



Reply to: