Skip to content

Commit 01d2961

Browse files
authored
Merge pull request #879 from OZI-Project/main
Release
2 parents 27975f7 + 5d75c1c commit 01d2961

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

ozi_core/render.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def find_user_template(target: str, file: str, fix: str) -> str | None:
4747
"""
4848
fp = Path(target, 'templates', fix, file)
4949
if fp.exists():
50-
user_template = str(fp.relative_to(Path(target, 'templates'))) # pragma: defer to E2E
50+
user_template = str(
51+
fp.relative_to(Path(target, 'templates'))
52+
) # pragma: defer to E2E
5153
else:
5254
TAP.ok(_('term-tap-user-template-not-found'), skip=True, template=str(fp))
5355
user_template = None

ozi_core/wrap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from ozi_templates.filter import get_ozi_tarball_sha256 # pyright: ignore
77

8+
89
def create_subproject_symlink(target: Path | str, version: str):
910
wrapfile = Path(target, 'subprojects', 'ozi.wrap')
1011
subproject = '..' / wrapfile.parent / f'OZI-{version}'
@@ -41,4 +42,4 @@ def update_wrapfile(target: Path | str, version: str) -> None:
4142
provide['dependency_names'] = f'ozi, ozi-{version}'
4243
with ozi_wrap.open('w', encoding='utf-8') as f:
4344
config.write(f)
44-
create_subproject_symlink(target, version)
45+
create_subproject_symlink(target, version)

0 commit comments

Comments
 (0)