Switch to non-namespaced module import - oslo_i18n
Looks like we missed one! Closes-Bug: #1431268 Change-Id: I125c7fb66967b83e786c2f697d7bda68d361cb30
This commit is contained in:
parent
700a01bc77
commit
464a3d028f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user