mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Whoops! Was reporting ASSIGNED bugs as being closed. Also, changed
it to report the resolution of the bug instead of the word "closed". Many thanks to dbaron@fas.harvard.edu for suggesting this change, and reporting the bug.
This commit is contained in:
parent
ef6a9e0b86
commit
27e39bfe08
@ -125,12 +125,14 @@ sub DescDependencies {
|
||||
my @verbose;
|
||||
my $count = 0;
|
||||
foreach my $i (@list) {
|
||||
SendSQL("select bug_status from bugs where bug_id = $i");
|
||||
my ($bug_status) = (FetchSQLData());
|
||||
my $desc = "[Closed]";
|
||||
if ($bug_status eq "OPEN" || $bug_status eq "NEW" ||
|
||||
SendSQL("select bug_status, resolution from bugs where bug_id = $i");
|
||||
my ($bug_status, $resolution) = (FetchSQLData());
|
||||
my $desc;
|
||||
if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" ||
|
||||
$bug_status eq "REOPENED") {
|
||||
$desc = "";
|
||||
} else {
|
||||
$desc = "[$resolution]";
|
||||
}
|
||||
push(@verbose, $i . "$desc");
|
||||
$count++;
|
||||
|
Loading…
Reference in New Issue
Block a user