[Debian-l10n-commits] r1797 - in /dl10n/trunk: Changelog dl10n-nmu

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Wed Jul 22 10:13:57 UTC 2009


Author: nekral-guest
Date: Wed Jul 22 10:13:56 2009
New Revision: 1797

URL: http://svn.debian.org/wsvn/?sc=1&rev=1797
Log:
	* dl10n-nmu: Some buggy bugs are sent without a subject. Just
	ignore them when parsing the wnpp and ftp.debian.org bugs.

Modified:
    dl10n/trunk/Changelog
    dl10n/trunk/dl10n-nmu

Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1797&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Wed Jul 22 10:13:56 2009
@@ -1,3 +1,8 @@
+2009-07-22  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* dl10n-nmu: Some buggy bugs are sent without a subject. Just
+	ignore them when parsing the wnpp and ftp.debian.org bugs.
+
 2009-07-22  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* dl10n-pts: Generate more fancy pages.

Modified: dl10n/trunk/dl10n-nmu
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-nmu?rev=1797&op=diff
==============================================================================
--- dl10n/trunk/dl10n-nmu (original)
+++ dl10n/trunk/dl10n-nmu Wed Jul 22 10:13:56 2009
@@ -94,6 +94,7 @@
 $ldap->unbind;
 foreach my $entry ($ldap_bugs->entries) {
   my $bug_title = $entry->get_value( "debbugsTitle" );
+  next unless defined $bug_title; # Bug sent without subject (#537751)
   if ($bug_title =~ /^O: ([+.a-z0-9-]+) -- .+$/) {
     $orphaned->{$1} = 1;
   }
@@ -106,6 +107,7 @@
 $ldap->unbind;
 foreach my $entry ($ldap_bugs->entries) {
   my $bug_title = $entry->get_value( "debbugsTitle" );
+  next unless defined $bug_title; # Bug sent without subject (#537751)
   if ($bug_title =~ /^RM: ([+.a-z0-9-]+) -- .+$/) {
     $removed->{$1} = 1;
   }




More information about the Debian-l10n-commits mailing list