From: Bryan不可思议 Date: Thu, 14 Sep 2023 21:23:38 +0000 (+0800) Subject: fix(command): `init --package` status display (#1312) X-Git-Tag: rel_1_12_1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db60d74e5805f55b4c2e603f5479996e3afa894;p=thirdparty%2Fsqlalchemy%2Falembic.git fix(command): `init --package` status display (#1312) --- diff --git a/alembic/command.py b/alembic/command.py index bd59d42a..dbaa9cf9 100644 --- a/alembic/command.py +++ b/alembic/command.py @@ -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