From: Michael Kerrin Date: Tue, 27 Aug 2013 10:48:45 +0000 (+0000) Subject: Migrate manage script needs import of db session module X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9c26377f7b92b5972b284ff75fe69ab11c3c18df;p=openstack-build%2Fcinder-build.git Migrate manage script needs import of db session module This import looks like it is not used but importing this module as the side effect of defining the olso configuration. Without it the script will not work. Change-Id: Id65f726f34aa2fb86fda13fd65e2e512b3a899ac --- diff --git a/cinder/db/sqlalchemy/migrate_repo/manage.py b/cinder/db/sqlalchemy/migrate_repo/manage.py index 546ecf462..741b69ebf 100644 --- a/cinder/db/sqlalchemy/migrate_repo/manage.py +++ b/cinder/db/sqlalchemy/migrate_repo/manage.py @@ -23,6 +23,7 @@ from cinder.openstack.common import gettextutils gettextutils.install('cinder', lazy=True) from cinder.db.sqlalchemy import migrate_repo +import cinder.openstack.common.db.sqlalchemy.session from cinder import version from migrate.versioning.shell import main