summaryrefslogtreecommitdiff
path: root/alembic/templates
diff options
context:
space:
mode:
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>2019-03-13 09:22:05 -0400
committersqla-tester <sqla-tester@sqlalchemy.org>2019-03-13 09:22:05 -0400
commit844fd83bd4feab5429622163ff2fb50a8d06ce9d (patch)
treeb728065c4f9644dc374a7cea86fc401868b7666c /alembic/templates
parentb15f34e34450b1b614ec4dcb5388ba1ec4117943 (diff)
downloadalembic-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.py1
-rw-r--r--alembic/templates/multidb/env.py1
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