This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new caebc46 Fix a missing condition
caebc46 is described below
commit caebc468e9cb032339e0661726a22e20299d089c
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Jan 14 15:28:23 2026 +0000
Fix a missing condition
---
atr/get/finish.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/atr/get/finish.py b/atr/get/finish.py
index 7e9e1b0..f31a6d3 100644
--- a/atr/get/finish.py
+++ b/atr/get/finish.py
@@ -551,7 +551,9 @@ def _render_task(task: sql.Task) -> htm.Element:
task_date = task.added.strftime("%Y-%m-%d %H:%M:%S")
task_status = task.status.value
workflow_status = task.workflow.status if task.workflow else ""
- workflow_message = task.workflow.message if task.workflow else
workflow_status.capitalize()
+ workflow_message = (
+ task.workflow.message if task.workflow and task.workflow.message else
workflow_status.capitalize()
+ )
if task_status != sql.TaskStatus.COMPLETED:
return htm.p[
f"{task_date} {args.platform} ({args.package} {args.version}): {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]