зеркало из https://github.com/mozilla/pjs.git
Bug 365143 - "[BUGZILLA] Mozbot does not parse duplicate bug messages correctly" [p=reed r=LpSolit]
This commit is contained in:
Родитель
3673fa67f9
Коммит
aaef5230da
|
@ -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}");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче