Remove reference to non-existant session_scope.

This commit is contained in:
Alexis Lahouze 2015-11-27 11:23:25 +01:00
parent 762efc64c8
commit 76247fe541

View File

@ -13,7 +13,6 @@ down_revision = None
from alembic import op from alembic import op
import sqlalchemy as sa import sqlalchemy as sa
from accountant import session_scope
from accountant.api.models.scheduled_operations import ScheduledOperation from accountant.api.models.scheduled_operations import ScheduledOperation
@ -52,7 +51,6 @@ def upgrade():
"alter sequence entry_id_seq rename to operation_id_seq" "alter sequence entry_id_seq rename to operation_id_seq"
) )
# TODO Alexis Lahouze 2015-07-17 Insert scheduling.
connection = op.get_bind() connection = op.get_bind()
Session = sa.orm.sessionmaker() Session = sa.orm.sessionmaker()
session = Session(bind=connection) session = Session(bind=connection)