From 92d9a1c40f17a83a7d3733e3cfc21ad9d63d69a5 Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Wed, 27 Aug 2014 17:23:20 +0300 Subject: Use oslo.i18n Module `gettextutils` from common code was graduated to oslo.i18n, so it would be great if we reuse this library. Change-Id: Ie5836b82723fc80c1d54e5e65eac8565cf905c5a --- oslo/db/sqlalchemy/migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oslo/db/sqlalchemy/migration.py') diff --git a/oslo/db/sqlalchemy/migration.py b/oslo/db/sqlalchemy/migration.py index 48943cc..d7a17b3 100644 --- a/oslo/db/sqlalchemy/migration.py +++ b/oslo/db/sqlalchemy/migration.py @@ -46,8 +46,8 @@ from migrate.versioning import api as versioning_api from migrate.versioning.repository import Repository import sqlalchemy +from oslo.db._i18n import _ from oslo.db import exception -from oslo.db.openstack.common.gettextutils import _ def db_sync(engine, abs_path, version=None, init_version=0, sanity_check=True): -- cgit v1.2.1