Skip to content

Commit

Permalink
Merge pull request #122 from aliceinwire/fstring
Browse files Browse the repository at this point in the history
maestro_common: Fix fstring
  • Loading branch information
aliceinwire authored Feb 26, 2025
2 parents d774693 + 488603c commit 10f11d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kcidev/libs/maestro_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,19 @@ def maestro_node_result(node):
if node["kind"] == "checkout":
kci_msg_nonl(" branch checkout")
else:
kci_msg_nonl(f" {node["kind"]}: ")
kci_msg_nonl(f" {node['kind']}: ")

if node["kind"] != "checkout":
kci_msg_nonl(f"{node["name"]}")
kci_msg_nonl(f"{node['name']}")

kci_msg(f" - node_id:{node["id"]} ({node["updated"]})")
kci_msg(f" - node_id:{node['id']} ({node['updated']})")


def maestro_watch_jobs(baseurl, token, treeid, job_filter, test):
# we need to add to job_filter "checkout" node
job_filter = list(job_filter)
job_filter.append("checkout")
kci_log(f"job_filter: {", ".join(job_filter)}")
kci_log(f"job_filter: {', '.join(job_filter)}")
previous_nodes = None
running = False

Expand Down

0 comments on commit 10f11d9

Please sign in to comment.