]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Fixed CLI output when running post_write hooks
authorMathieu Défosse <mathieu.defosse@hey.com>
Sat, 17 Jun 2023 17:46:08 +0000 (13:46 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 20 Jun 2023 17:48:35 +0000 (19:48 +0200)
commit8e786a72ac8d86d03d2f9ec0335579b25cda3bce
tree7b409da4be80f5463cff5a9aa4ff47749288e0fb
parent79738c9e971d4bbe6f4845a54fd0f972d15e1035
Fixed CLI output when running post_write hooks

Fixes: #1261
<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
Just fixed badly written Python string interpolation. Used the `%` operator just like the lines above.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [x] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #1262
Pull-request: https://github.com/sqlalchemy/alembic/pull/1262
Pull-request-sha: 19d17f5d061319bbf142b45a593081da5fc1dda8

Change-Id: I89ef873935d7206a61f78a09139cd5ab192a2275
alembic/script/write_hooks.py
docs/build/unreleased/1261.rst [new file with mode: 0644]