Get rid of oslo_i18n deprecation notice
Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e
This commit is contained in:
parent
a6ea6d9f94
commit
f737160777
@ -13,9 +13,9 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
from oslo import i18n
|
||||
import oslo_i18n
|
||||
|
||||
_translators = i18n.TranslatorFactory(domain='python-openstackclient')
|
||||
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
|
||||
|
||||
# The primary translation function using the well-known name "_"
|
||||
_ = _translators.primary
|
||||
|
Loading…
Reference in New Issue
Block a user