From: Anish Bhatt Date: Thu, 19 Mar 2015 08:08:06 +0000 (-0700) Subject: Change leftover oslo.* to oslo_* X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d248cca5e50798616f8dda5d36b550b3542ac6dd;p=openstack-build%2Fcinder-build.git Change leftover oslo.* to oslo_* Use oslo_i18n instead of "from oslo import i18n" Use oslo_messaging instead of "from oslo import messaging" Partial-Bug: 1409733 Change-Id: If119603e4f89965d0c9e5917b2772ae0e7ddf3d2 --- diff --git a/cinder/i18n.py b/cinder/i18n.py index 0f120028a..1b3965bf0 100644 --- a/cinder/i18n.py +++ b/cinder/i18n.py @@ -18,7 +18,7 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html . """ -from oslo import i18n +import oslo_i18n as i18n from cinder.openstack.common import gettextutils diff --git a/cinder/objects/base.py b/cinder/objects/base.py index 22ef47c7b..38cd679b8 100644 --- a/cinder/objects/base.py +++ b/cinder/objects/base.py @@ -22,8 +22,8 @@ import functools import traceback import netaddr -from oslo import messaging from oslo_log import log as logging +import oslo_messaging as messaging from oslo_utils import timeutils import six