]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
add missing f-string
authorFederico Caselli <cfederico87@gmail.com>
Wed, 21 May 2025 20:54:06 +0000 (22:54 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 21 May 2025 20:54:06 +0000 (22:54 +0200)
Fixes: #1659
Change-Id: Ic6d59b95017088c4e3d8cf5e5a2a75448057c5fb

alembic/command.py

index 6080f3639c68d1152ae87815db60ed15a686046e..8e4854744ab32cd89f06c870a62a2cc711543c15 100644 (file)
@@ -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):