From 76247fe5414d50ac259f6fa1b51afa9cbc55ab60 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 27 Nov 2015 11:23:25 +0100 Subject: [PATCH] Remove reference to non-existant session_scope. --- migrations/versions/144929e0f5f_improve_operation_scheduling.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/migrations/versions/144929e0f5f_improve_operation_scheduling.py b/migrations/versions/144929e0f5f_improve_operation_scheduling.py index b868602..efc5903 100644 --- a/migrations/versions/144929e0f5f_improve_operation_scheduling.py +++ b/migrations/versions/144929e0f5f_improve_operation_scheduling.py @@ -13,7 +13,6 @@ down_revision = None from alembic import op import sqlalchemy as sa -from accountant import session_scope from accountant.api.models.scheduled_operations import ScheduledOperation @@ -52,7 +51,6 @@ def upgrade(): "alter sequence entry_id_seq rename to operation_id_seq" ) - # TODO Alexis Lahouze 2015-07-17 Insert scheduling. connection = op.get_bind() Session = sa.orm.sessionmaker() session = Session(bind=connection)