Skip to content

Commit

Permalink
contrib: fix invalid f-string (#90)
Browse files Browse the repository at this point in the history
F-String was invalid on NixOS due to variable names overlapping with the
string double quotes.

Signed-off-by: David Bauer <[email protected]>
(cherry picked from commit 6d94c7c)
Signed-off-by: Tom Herbers <[email protected]>
  • Loading branch information
blocktrron committed Jul 22, 2024
1 parent e78ef48 commit 150e5ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/load-attestation.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def print_attestation(data):

build_commit = build_definition["resolvedDependencies"][0]["digest"]["gitCommit"]
print(f" Commit: {build_commit}")
print(f" Run: {run_details["metadata"]["invocationId"]}")
invocation_id = run_details["metadata"]["invocationId"]
print(f" Run: {invocation_id}")


if __name__ == "__main__":
Expand Down

0 comments on commit 150e5ea

Please sign in to comment.