diff options
author | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2019-03-13 09:22:05 -0400 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2019-03-13 09:22:05 -0400 |
commit | 844fd83bd4feab5429622163ff2fb50a8d06ce9d (patch) | |
tree | b728065c4f9644dc374a7cea86fc401868b7666c /alembic/templates | |
parent | b15f34e34450b1b614ec4dcb5388ba1ec4117943 (diff) | |
download | alembic-844fd83bd4feab5429622163ff2fb50a8d06ce9d.tar.gz |
remove unnecessary "from __future__ import with_statement" from env templates
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
Diffstat (limited to 'alembic/templates')
-rw-r--r-- | alembic/templates/generic/env.py | 1 | ||||
-rw-r--r-- | alembic/templates/multidb/env.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/alembic/templates/generic/env.py b/alembic/templates/generic/env.py index a1b1674..15cb472 100644 --- a/alembic/templates/generic/env.py +++ b/alembic/templates/generic/env.py @@ -1,4 +1,3 @@ -from __future__ import with_statement from logging.config import fileConfig diff --git a/alembic/templates/multidb/env.py b/alembic/templates/multidb/env.py index dc04acf..607efaa 100644 --- a/alembic/templates/multidb/env.py +++ b/alembic/templates/multidb/env.py @@ -1,4 +1,3 @@ -from __future__ import with_statement import logging from logging.config import fileConfig |