Skip to content

Commit 81558d9

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Get rid of oslo_i18n deprecation notice"
2 parents db7d4eb + f737160 commit 81558d9

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)