From: Federico Caselli Date: Wed, 21 May 2025 20:54:06 +0000 (+0200) Subject: add missing f-string X-Git-Tag: rel_1_16_1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8973b314c02c3b85b99f101e1f3e3b40f3fd6d5c;p=thirdparty%2Fsqlalchemy%2Falembic.git add missing f-string Fixes: #1659 Change-Id: Ic6d59b95017088c4e3d8cf5e5a2a75448057c5fb --- diff --git a/alembic/command.py b/alembic/command.py index 6080f363..8e485474 100644 --- a/alembic/command.py +++ b/alembic/command.py @@ -68,7 +68,7 @@ def init( template_path = config._get_template_path() / template if not template_path.exists(): - raise util.CommandError("No such template {template_path}") + raise util.CommandError(f"No such template {template_path}") # left as os.access() to suit unit test mocking if not os.access(directory_path, os.F_OK):