From 9174de810bc4be3376521eecdb82a84486591e73 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 21 Jan 2015 19:56:45 -0500 Subject: [PATCH] Update Oslo imports to remove namespace package Change-Id: I4ec9b2a310471e4e07867073e9577731ac34027d Blueprint: drop-namespace-packages --- oslo_utils/_i18n.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oslo_utils/_i18n.py b/oslo_utils/_i18n.py index 6045a10b..c690fc34 100644 --- a/oslo_utils/_i18n.py +++ b/oslo_utils/_i18n.py @@ -18,10 +18,10 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html . """ -from oslo import i18n +import oslo_i18n -_translators = i18n.TranslatorFactory(domain='oslo.utils') +_translators = oslo_i18n.TranslatorFactory(domain='oslo.utils') # The primary translation function using the well-known name "_" _ = _translators.primary