From 4ff5cf79b6e8939990b365ab84f3bf9d62a1a956 Mon Sep 17 00:00:00 2001 From: Tom Stein Date: Thu, 12 Jun 2025 22:07:07 +0200 Subject: [PATCH] fix: remove double quotation marks in logs (#1682) - 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alembic/autogenerate/compare.py b/alembic/autogenerate/compare.py index cf43729b..a9adda1c 100644 --- a/alembic/autogenerate/compare.py +++ b/alembic/autogenerate/compare.py @@ -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, ) -- 2.47.3