[Debian-l10n-commits] r1921 - in /dl10n/trunk: Changelog dl10n-pts

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Wed Sep 9 23:24:57 UTC 2009


Author: nekral-guest
Date: Wed Sep  9 23:24:56 2009
New Revision: 1921

URL: http://svn.debian.org/wsvn/?sc=1&rev=1921
Log:
	* dl10n-pts: Do not hardcore a todo for shadow.
	* dl10n-pts: Fix mis-detection of todos.

Modified:
    dl10n/trunk/Changelog
    dl10n/trunk/dl10n-pts

Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1921&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Wed Sep  9 23:24:56 2009
@@ -1,3 +1,8 @@
+2009-09-10  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* dl10n-pts: Do not hardcore a todo for shadow.
+	* dl10n-pts: Fix mis-detection of todos.
+
 2009-08-28  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* dl10n-check: Removed non-US sections, and non-US handling.

Modified: dl10n/trunk/dl10n-pts
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-pts?rev=1921&op=diff
==============================================================================
--- dl10n/trunk/dl10n-pts (original)
+++ dl10n/trunk/dl10n-pts Wed Sep  9 23:24:56 2009
@@ -1,6 +1,6 @@
 #! /usr/bin/perl -w
 
-# dl10n-rrd -- Debian l10n PTS links
+# dl10n-pts -- Debian l10n PTS links
 #
 # Copyright (C) 2009 Nicolas François
 #
@@ -210,7 +210,6 @@
                  or (    (defined $global_score{$pkg}{nondebian})
                      and ($global_score{$pkg}{nondebian} ne "0t0f0u")));
     my $todo = 0;
-    $todo = 1 if $pkg eq "shadow";
     if (defined $errors{$pkg}) {
         $todo = 1;
     }
@@ -255,10 +254,10 @@
             if (    ($score{$pkg}{"podebconf"}{$lang} =~ m/^([0-9]+)t0f0u$/)
                 and ($1 ne "0")) {
                 $uptodate = 1;
-                $todo = 1;
             }
         }
         if (not $uptodate) {
+            $todo = 1;
             $msg = <<EOF;
     <div>
       There are no up-to-date PO files in your package.




More information about the Debian-l10n-commits mailing list