]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Fix pylint complaint about logging-not-lazy.
authorJosh Kupershmidt <josh.kupershmidt@cloudlock.com>
Wed, 16 Dec 2015 22:21:03 +0000 (17:21 -0500)
committerJosh Kupershmidt <josh.kupershmidt@cloudlock.com>
Wed, 16 Dec 2015 22:21:03 +0000 (17:21 -0500)
alembic/ddl/postgresql.py

index 39c380d137c7c18071a849fd07b9ab60307ba292..057ae4200c03b07456b561491336d6aa737d96b2 100644 (file)
@@ -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']