Merge "Update Oslo imports to remove namespace package"
This commit is contained in:
commit
50488e2573
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user