]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
remove unnecessary "from __future__ import with_statement" from env templates
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>
Wed, 13 Mar 2019 13:22:05 +0000 (09:22 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Wed, 13 Mar 2019 13:22:05 +0000 (09:22 -0400)
That future import is only required for Python 2.5. alembic 1.0 requires Python 2.7 at least so
we can drop this line.

Closes: #544
Pull-request: https://github.com/sqlalchemy/alembic/pull/544
Pull-request-sha: 3d68986c1409152f85ff6d444710249b825e36f3

Change-Id: I51579449b262e33917f4d97a6fb58fc9a02b694a

alembic/templates/generic/env.py
alembic/templates/multidb/env.py

index a1b1674952f4483b421687bd7a8e0133933b1183..15cb4725951092618258f4b8e9e8cb72b8e6f26c 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import with_statement
 
 from logging.config import fileConfig
 
index dc04acfb59380bd4783df0147f3240c07e99c1a3..607efaa021330186c36347584823a19d299faba7 100644 (file)
@@ -1,4 +1,3 @@
-from __future__ import with_statement
 
 import logging
 from logging.config import fileConfig