summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-02-08 14:56:40 +0000
committerGerrit Code Review <review@openstack.org>2015-02-08 14:56:40 +0000
commit50488e25739ff88e4f51b9c33a8aedc218ab03b1 (patch)
tree58a558602bf28ff7e925ee89760d539fee9180c9
parentd5e2009dddad40b0c02d61e8fe4efa3f6143264c (diff)
parent9174de810bc4be3376521eecdb82a84486591e73 (diff)
downloadoslo-utils-50488e25739ff88e4f51b9c33a8aedc218ab03b1.tar.gz
Merge "Update Oslo imports to remove namespace package"
-rw-r--r--oslo_utils/_i18n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_utils/_i18n.py b/oslo_utils/_i18n.py
index 6045a10..c690fc3 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