]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
fix: remove double quotation marks in logs (#1682)
authorTom Stein <dev@tomstein.me>
Thu, 12 Jun 2025 20:07:07 +0000 (22:07 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Jun 2025 20:07:07 +0000 (22:07 +0200)
- the '%r' caused two single ticks like '' to show
- What we want is a single tick '
- This aligns now with the usage in other log statements

alembic/autogenerate/compare.py

index cf43729bdf45ed67242471f8ca3d5e9073cae2e9..a9adda1cd5b43ae581c73054bb9670b2dfff0b7d 100644 (file)
@@ -683,7 +683,7 @@ def _compare_indexes_and_uniques(
             ):
                 modify_ops.ops.append(ops.CreateIndexOp.from_index(obj.const))
                 log.info(
-                    "Detected added index '%r' on '%s'",
+                    "Detected added index %r on '%s'",
                     obj.name,
                     obj.column_names,
                 )