[Debian-l10n-commits] r1248 - in /dl10n/trunk: Changelog lib/Debian/L10n/Spider.pm
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Sun Sep 7 12:01:38 UTC 2008
Author: nekral-guest
Date: Sun Sep 7 12:01:37 2008
New Revision: 1248
URL: http://svn.debian.org/wsvn/?sc=1&rev=1248
Log:
* lib/Debian/L10n/Spider.pm: Do not fail if there is no From:
field. (see
http://lists.debian.org/debian-l10n-french/2008/09/msg00138.html)
Modified:
dl10n/trunk/Changelog
dl10n/trunk/lib/Debian/L10n/Spider.pm
Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1248&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Sun Sep 7 12:01:37 2008
@@ -1,3 +1,9 @@
+2008-09-07 Nicolas François <nicolas.francois at centraliens.net>
+
+ * lib/Debian/L10n/Spider.pm: Do not fail if there is no From:
+ field. (see
+ http://lists.debian.org/debian-l10n-french/2008/09/msg00138.html)
+
2008-09-07 Nicolas François <nicolas.francois at centraliens.net>
* lib/Debian/L10n/Html.pm: Add (uncomment) the anchors for
Modified: dl10n/trunk/lib/Debian/L10n/Spider.pm
URL: http://svn.debian.org/wsvn/dl10n/trunk/lib/Debian/L10n/Spider.pm?rev=1248&op=diff
==============================================================================
--- dl10n/trunk/lib/Debian/L10n/Spider.pm (original)
+++ dl10n/trunk/lib/Debian/L10n/Spider.pm Sun Sep 7 12:01:37 2008
@@ -629,6 +629,8 @@
}
my ($t) = grep(/From: / , @$header);
+ # In case there's no From header:
+ $t = "UNKNOWN" unless defined $t;
my $translator = parse_from($t);
my ($d) = grep(/Date: / , @$header);
More information about the Debian-l10n-commits
mailing list