From e8622fa27c6dd25ef3ca6d94cf08f555d5dcf61f Mon Sep 17 00:00:00 2001 From: Josh Kupershmidt Date: Wed, 16 Dec 2015 17:21:03 -0500 Subject: [PATCH] Fix pylint complaint about logging-not-lazy. --- alembic/ddl/postgresql.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/alembic/ddl/postgresql.py b/alembic/ddl/postgresql.py index 39c380d1..057ae420 100644 --- a/alembic/ddl/postgresql.py +++ b/alembic/ddl/postgresql.py @@ -80,9 +80,8 @@ class PostgresqlImpl(DefaultImpl): log.info( "Detected sequence named '%s' as " "owned by integer column '%s(%s)', " - "assuming SERIAL and omitting" % ( - seqname, table.name, colname - )) + "assuming SERIAL and omitting", + seqname, table.name, colname) # sequence, and the owner is this column, # its a SERIAL - whack it! del column_info['default'] -- 2.47.2