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:
parent
0d18c02f24
commit
7778986c3a
|
@ -18,6 +18,5 @@
|
|||
import oslo_i18n as i18n # noqa
|
||||
|
||||
_translators = i18n.TranslatorFactory(domain='cloudkitty')
|
||||
i18n.enable_lazy()
|
||||
|
||||
_ = _translators.primary
|
||||
|
|
Loading…
Reference in New Issue