Skip to content

Commit

Permalink
Walk up from file, not from cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
mccoyp committed Dec 8, 2021
1 parent 1afeb3b commit 85de554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def parse_tag(file):
except FileNotFoundError:
# REPO_ROOT only gets us to /sdk/{service}/{package}/.tox/whl on Windows
# REPO_ROOT only gets us to /sdk/{service}/{package}/.tox/whl/lib on Ubuntu
head, tail = os.path.split(os.getcwd())
head, tail = os.path.split(REPO_ROOT)
while tail != "sdk":
head, tail = os.path.split(head)

Expand Down

0 comments on commit 85de554

Please sign in to comment.