This part fixes ironic/common folder and tox.ini file.
Some modules use _ function for log translation, even when the
translated string is passed to e.g. LOG.warn function. This patch
fixes it, using translator functions appropriate for corresponding
log levels. Translator functions, imported from
ironic.openstack.common.gettextutils are now imported from
ironic.common.i18n. Translator functions are imported the same way
across all modules. All places that are changed conform to http://docs.openstack.org/developer/oslo.i18n/guidelines.html
Reviewed: https:/ /review. openstack. org/116303 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=f80e85ef6d1 85ea743c6909d6d 4d7f48cbf088f6
Committed: https:/
Submitter: Jenkins
Branch: master
commit f80e85ef6d185ea 743c6909d6d4d7f 48cbf088f6
Author: Vladyslav Drok <email address hidden>
Date: Wed Sep 3 12:46:51 2014 +0300
Translator functions cleanup part 1
This part fixes ironic/common folder and tox.ini file.
Some modules use _ function for log translation, even when the openstack. common. gettextutils are now imported from common. i18n. Translator functions are imported the same way docs.openstack. org/developer/ oslo.i18n/ guidelines. html
translated string is passed to e.g. LOG.warn function. This patch
fixes it, using translator functions appropriate for corresponding
log levels. Translator functions, imported from
ironic.
ironic.
across all modules. All places that are changed conform to
http://
Partial-bug: #1364813
Change-Id: I195d0e256c5412 d6d75d2e6c35b19 b44f2a0b09f