Get rid of oslo_i18n deprecation notice

Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e
This commit is contained in:
TerryHowe 2015-06-02 09:21:31 -06:00
parent a6ea6d9f94
commit f737160777
1 changed files with 2 additions and 2 deletions

View File

@ -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