Bug 365143 - "[BUGZILLA] Mozbot does not parse duplicate bug messages correctly" [p=reed r=LpSolit]

This commit is contained in:
reed%reedloden.com 2006-12-27 18:13:52 +00:00
Родитель 3673fa67f9
Коммит aaef5230da
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -362,8 +362,8 @@ sub parse_mail ($) {
# Duplicate
my $dupid;
if (($dupid) = grep /marked as a duplicate of \d+/, @body_lines) {
$dupid =~ /marked as a duplicate of (\d+)/;
if (($dupid) = grep /marked as a duplicate of (?:bug\s)?\d+/, @body_lines) {
$dupid =~ /marked as a duplicate of (?:bug\s)?(\d+)/;
$bug_info{'dup_of'} = $1;
debug_print("Got dup_of: $bug_info{dup_of}");
}