Merge "Update Oslo imports to remove namespace package"

This commit is contained in:
Jenkins
2015-02-08 14:56:40 +00:00
committed by Gerrit Code Review

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 "_" # The primary translation function using the well-known name "_"
_ = _translators.primary _ = _translators.primary