Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't return prematurely if parent task is still open.
@robert-scheck hit this here: fedora-infra/fmn#54 (comment) There is a parent build which had one task: That task had three child tasks srpmfromscm buildarch tagbuild All three grandchild tasks were done and koji published a fedmsg message about it, but the middle-parent task had not yet become 'closed'. FMN tried to get the 'results' of the middle-parent task, but when that task is still 'open', this throws an exception. We can handle that exception, but we returned prematurely from the ``_fill_task_template`` method, returning before we had a chance to iterate over the grandchild tasks that have the most interesting information (binary rpms, logs, etc). This patch should avoid that premature return so we can cram as much info as is available in our emails.
- Loading branch information