Skip to content

Commit f737160

Browse files
committed
Get rid of oslo_i18n deprecation notice
Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e
1 parent a6ea6d9 commit f737160

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎openstackclient/i18n.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
# under the License.
1414
#
1515

16-
from oslo import i18n
16+
import oslo_i18n
1717

18-
_translators = i18n.TranslatorFactory(domain='python-openstackclient')
18+
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
1919

2020
# The primary translation function using the well-known name "_"
2121
_ = _translators.primary

0 commit comments

Comments
 (0)