From 464a3d028fdfa3c5e4826f21c72f4c92c8e34235 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 12 Mar 2015 06:44:07 -0400 Subject: [PATCH] Switch to non-namespaced module import - oslo_i18n Looks like we missed one! Closes-Bug: #1431268 Change-Id: I125c7fb66967b83e786c2f697d7bda68d361cb30 --- oslo_db/_i18n.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oslo_db/_i18n.py b/oslo_db/_i18n.py index 6a55466..809076e 100644 --- a/oslo_db/_i18n.py +++ b/oslo_db/_i18n.py @@ -16,10 +16,10 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html . """ -from oslo import i18n +import oslo_i18n -_translators = i18n.TranslatorFactory(domain='oslo.db') +_translators = oslo_i18n.TranslatorFactory(domain='oslo.db') # The primary translation function using the well-known name "_" _ = _translators.primary