Comment 7 for bug 1364813

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/118588
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=7a35462661177cc0231619bcde14c5c04a3873f2
Submitter: Jenkins
Branch: master

commit 7a35462661177cc0231619bcde14c5c04a3873f2
Author: Vladyslav Drok <email address hidden>
Date: Wed Sep 3 12:26:15 2014 +0300

    Translator functions cleanup part 3

    This part fixes ironic/conductor, ironic/dhcp and ironic/objects
    folders.

    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

    Partial-bug: #1364813

    Change-Id: Ib4b93cc49f16836a95c7cfb4c5f1705f5cbbb31f