From f73716077772f44621a9f544388c4c32403734dc Mon Sep 17 00:00:00 2001 From: TerryHowe <terrylhowe@gmail.com> Date: Tue, 2 Jun 2015 09:21:31 -0600 Subject: [PATCH] Get rid of oslo_i18n deprecation notice Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e --- openstackclient/i18n.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstackclient/i18n.py b/openstackclient/i18n.py index 3611b315c9..3a11c1d0dc 100644 --- a/openstackclient/i18n.py +++ b/openstackclient/i18n.py @@ -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