diff options
Diffstat (limited to 'processmail')
-rwxr-xr-x | processmail | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/processmail b/processmail index 3b421e922..fd1f50b62 100755 --- a/processmail +++ b/processmail @@ -131,6 +131,22 @@ sub ProcessOneBug { } $values{'estimated_time'} = FormatTimeUnit($values{'estimated_time'}); + my @dependslist; + SendSQL("SELECT dependson FROM dependencies WHERE + blocked = $id ORDER BY dependson"); + while (MoreSQLData()) { + push(@dependslist, FetchOneColumn()); + } + $values{'dependson'} = join(",", @dependslist); + + my @blockedlist; + SendSQL("SELECT blocked FROM dependencies WHERE + dependson = $id ORDER BY blocked"); + while (MoreSQLData()) { + push(@blockedlist, FetchOneColumn()); + } + $values{'blocked'} = join(",", @blockedlist); + my @diffs; |