Skip to content

Commit

Permalink
containerbuild.py: fix lock file contruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Jan 11, 2025
1 parent 5500848 commit 411671b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/containerbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def build_fake_container_fixture(shared_tmpdir, build_container):
tmp_path = shared_tmpdir / "build-fake-container"

container_tag = "bootc-image-builder-test-faked-osbuild"
with FileLock(tmp_path + ".lock"):
with FileLock(shared_tmpdir / pathlib.Path(container_tag + ".lock")):
if tmp_path.exists():
return container_tag
tmp_path.mkdir()
Expand Down

0 comments on commit 411671b

Please sign in to comment.