remove python 2 __future__ import
This commit is contained in:
parent
f81dd4b7a2
commit
0e1a01eb75
1 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,10 @@
|
|||
from __future__ import with_statement
|
||||
|
||||
from files.classes import *
|
||||
import logging
|
||||
from logging.config import fileConfig
|
||||
|
||||
from alembic import context
|
||||
from flask import current_app
|
||||
|
||||
from alembic import context
|
||||
from files.classes import *
|
||||
|
||||
# this is the Alembic Config object, which provides
|
||||
# access to the values within the .ini file in use.
|
||||
|
@ -23,6 +21,7 @@ logger = logging.getLogger('alembic.env')
|
|||
# add your model's MetaData object here
|
||||
# for 'autogenerate' support
|
||||
from files.classes.base import Base
|
||||
|
||||
target_metadata = Base.metadata
|
||||
|
||||
config.set_main_option(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue