From: Josh Kupershmidt Date: Wed, 16 Dec 2015 22:21:03 +0000 (-0500) Subject: Fix pylint complaint about logging-not-lazy. X-Git-Tag: rel_0_8_5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8622fa27c6dd25ef3ca6d94cf08f555d5dcf61f;p=thirdparty%2Fsqlalchemy%2Falembic.git Fix pylint complaint about logging-not-lazy. --- 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']