From 322f9b644df1e99fe9eff9f0c515fe0d258a75fb Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 29 Nov 2013 19:02:21 -0800 Subject: [PATCH] revert part of 593feb86; Source_maintainer has a different format, and this wouldn't parse maintainers properly anyway; this fixes #730835 --- Debbugs/Common.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Debbugs/Common.pm b/Debbugs/Common.pm index abc98dc..fdf6792 100644 --- a/Debbugs/Common.pm +++ b/Debbugs/Common.pm @@ -435,11 +435,8 @@ sub __add_to_hash { binmode($fh,':encoding(UTF-8)'); while (<$fh>) { chomp; - my @elements = split /\t/; - next unless @elements >=2; - # we do this because the source maintainer file contains the - # archive location, which we don't care about - my ($key,$value)=($elements[0],$elements[-1]); + next unless m/^(\S+)\s+(\S.*\S)\s*$/; + my ($key,$value)=($1,$2); $key = lc $key; $forward->{$key}= $value; if (defined $reverse) { -- 2.39.2