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

Bug#342707: lintian: not-using-po-debconf test fails in many cases



Package: lintian
Severity: minor
Tags: patch

Hi,

In the po-debconf check (checks/po-debconf), the first loop (line 35)
lasts as soon as one *templates* file is found. This skips very often the
check for the *config* file.
I suggest you to remove the "last;" instruction on line 48 (see the
attached patch).

To check the results of this test, you can compare
http://www.us.debian.org/intl/l10n/templates/fr and
http://lintian.debian.org/reports/Tnot-using-po-debconf.html
which are fully independant.

Cheers

-- 
Thomas Huriaux
--- po-debconf.orig	2005-12-09 17:56:14.000000000 +0100
+++ po-debconf	2005-12-09 17:57:14.000000000 +0100
@@ -45,7 +45,6 @@
 			}
 		}
 		close(IN);
-		last;
 	}
 	if ($file =~ m/^(.+\.)?config(\..+)?$/) {
 	    $has_config = 1;

Attachment: signature.asc
Description: Digital signature


Reply to: