Update Oslo imports to remove namespace package

Change-Id: I4ec9b2a310471e4e07867073e9577731ac34027d
Blueprint: drop-namespace-packages
This commit is contained in:
Doug Hellmann 2015-01-21 19:56:45 -05:00
parent 89d0c2a88c
commit 9174de810b
1 changed files with 2 additions and 2 deletions

View File

@ -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