]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
fix(command): `init --package` status display (#1312)
authorBryan不可思议 <programripper@foxmail.com>
Thu, 14 Sep 2023 21:23:38 +0000 (05:23 +0800)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 21:23:38 +0000 (23:23 +0200)
alembic/command.py

index bd59d42a665092566d870712cecccf2ed5a7533b..dbaa9cf965c7516e3b4c38e69be992e5a649e25d 100644 (file)
@@ -106,7 +106,7 @@ def init(
             os.path.join(os.path.abspath(directory), "__init__.py"),
             os.path.join(os.path.abspath(versions), "__init__.py"),
         ]:
-            with util.status("Adding {path!r}", **config.messaging_opts):
+            with util.status(f"Adding {path!r}", **config.messaging_opts):
                 with open(path, "w"):
                     pass