Skip to content

Commit

Permalink
fix(wrappers/python): trivial type error
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt committed Aug 25, 2024
1 parent 3e1637f commit 54f70ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wrappers/python/scripts/build/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ def parse_args():
if bin_dir is None:
certified, tag_name = download("latest", dry_run=False)
else:
if (tag_name := os.environ.get("GIT_VERSION")) is None:
if os.environ.get("GIT_VERSION") is None:
raise KeyError("Missing DIR argument and GIT_VERSION environment variable")
else:
tag_name = os.environ["GIT_VERSION"]
certified = find_bins(bin_dir)
check_platforms(certified)

Expand Down

0 comments on commit 54f70ad

Please sign in to comment.