Remove oslo_i18n.enable_lazy()

This removes the call of the enable_lazy() function from oslo_i18n.

This function causes TypeErrors for upgrade checks, and is currently in a
deprecation process. See links:

http://lists.openstack.org/pipermail/openstack-dev/2018-November/136285.html
http://lists.openstack.org/pipermail/openstack-dev/2018-November/136289.html

Change-Id: I373f71abf8f4cccf2e173e59459ef7ce2c35fc31
This commit is contained in:
Luka Peschke 2018-11-06 10:08:52 +01:00
parent 0d18c02f24
commit 7778986c3a
1 changed files with 0 additions and 1 deletions

View File

@ -18,6 +18,5 @@
import oslo_i18n as i18n # noqa
_translators = i18n.TranslatorFactory(domain='cloudkitty')
i18n.enable_lazy()
_ = _translators.primary