Skip to content

Commit ddf3bae

Browse files
author
David Andersson
committed
remove unsupported f-string command
1 parent 7c3b111 commit ddf3bae

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

open_alchemy/cache.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,11 @@ def schemas_are_valid(filename: str) -> None:
138138
"""
139139
path = pathlib.Path(filename)
140140
if not path.exists():
141-
raise exceptions.CacheError(f"the spec file does not exists, {filename=}")
141+
raise exceptions.CacheError(
142+
f"the spec file does not exists, filename={filename}"
143+
)
142144
if not path.is_file():
143-
raise exceptions.CacheError(f"the spec file is not a file, {filename=}")
145+
raise exceptions.CacheError(f"the spec file is not a file, filename={filename}")
144146
file_hash = calculate_hash(path.read_text())
145147

146148
cache_path = calculate_cache_path(path)

0 commit comments

Comments
 (0)