Merge "Get rid of oslo_i18n deprecation notice"

This commit is contained in:
Jenkins 2015-06-03 14:35:11 +00:00 committed by Gerrit Code Review
commit 81558d9ce3

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