mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
ci,crnm: Fix f-string print error
```
f"{f"has new status: {job.status} " if new_status else f"{job.status}"} "
^^^
SyntaxError: f-string: expecting '}'
```
Fixes: 51c3f56aa (ci,crnm: migrate colorama to rich)
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37770>
This commit is contained in:
parent
aeec53f020
commit
30fe9b47f5
1 changed files with 3 additions and 3 deletions
|
|
@ -87,9 +87,9 @@ def print_job_status(
|
||||||
print(
|
print(
|
||||||
f"{STATUS_COLORS[job.status]}"
|
f"{STATUS_COLORS[job.status]}"
|
||||||
f"{jtype:{type_field_pad}} " # U+1F78B Round target
|
f"{jtype:{type_field_pad}} " # U+1F78B Round target
|
||||||
f"{link2print(job.web_url, job.name, name_field_pad)} "
|
f"{link2print(job.web_url, job.name, name_field_pad)} " +
|
||||||
f"{f"has new status: {job.status} " if new_status else f"{job.status}"} "
|
(f" has new status: {job.status}" if new_status else f" {job.status}") +
|
||||||
f"{f"({pretty_duration(duration)})" if job.started_at else ""}"
|
(f" ({pretty_duration(duration)})" if job.started_at else "")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue