Skip to content

Commit

Permalink
squash: address distgit
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed Sep 24, 2024
1 parent 5b13777 commit 991e14b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tmt/steps/discover/fmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,8 @@ def post_dist_git(self, created_content: list[Path]) -> None:
if dist_git_extract and dist_git_extract != '/':
try:

dist_git_extract = Path(glob.glob(sourcedir / dist_git_extract.lstrip('/'))[0])
dist_git_extract = Path(
glob.glob(str(sourcedir / dist_git_extract.lstrip('/')))[0])
except IndexError:
raise tmt.utils.DiscoverError(
f"Couldn't glob '{dist_git_extract}' "
Expand Down

0 comments on commit 991e14b

Please sign in to comment.