diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-30 14:23:03 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-30 14:23:03 -0500 |
commit | e3e59ede4d4c3885c99d6e5e8d50c2391a289a70 (patch) | |
tree | 9fcdd16c358a77e53baea7c88384b63fd406320c /alembic/templates | |
parent | 4dbb340fe9ff23da33506ff77d531a18a505f939 (diff) | |
download | alembic-e3e59ede4d4c3885c99d6e5e8d50c2391a289a70.tar.gz |
switch to "from alembic import op" as its not
a debate worth having...probably clearer too
Diffstat (limited to 'alembic/templates')
-rw-r--r-- | alembic/templates/generic/script.py.mako | 2 | ||||
-rw-r--r-- | alembic/templates/multidb/script.py.mako | 2 | ||||
-rw-r--r-- | alembic/templates/pylons/script.py.mako | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/alembic/templates/generic/script.py.mako b/alembic/templates/generic/script.py.mako index b17c3ad..04e4de7 100644 --- a/alembic/templates/generic/script.py.mako +++ b/alembic/templates/generic/script.py.mako @@ -9,7 +9,7 @@ Create Date: ${create_date} # downgrade revision identifier, used by Alembic. down_revision = ${repr(down_revision)} -from alembic.op import * +from alembic import op import sqlalchemy as sa ${imports if imports else ""} diff --git a/alembic/templates/multidb/script.py.mako b/alembic/templates/multidb/script.py.mako index b9e606c..32529c6 100644 --- a/alembic/templates/multidb/script.py.mako +++ b/alembic/templates/multidb/script.py.mako @@ -9,7 +9,7 @@ Create Date: ${create_date} # downgrade revision identifier, used by Alembic. down_revision = ${repr(down_revision)} -from alembic.op import * +from alembic import op import sqlalchemy as sa ${imports if imports else ""} diff --git a/alembic/templates/pylons/script.py.mako b/alembic/templates/pylons/script.py.mako index b17c3ad..04e4de7 100644 --- a/alembic/templates/pylons/script.py.mako +++ b/alembic/templates/pylons/script.py.mako @@ -9,7 +9,7 @@ Create Date: ${create_date} # downgrade revision identifier, used by Alembic. down_revision = ${repr(down_revision)} -from alembic.op import * +from alembic import op import sqlalchemy as sa ${imports if imports else ""} |