Comment 6 for bug 1364813

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

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

commit d8a237806dfed25738944ae108623e874a91746d
Author: Vladyslav Drok <email address hidden>
Date: Wed Sep 3 12:31:15 2014 +0300

    Translator functions cleanup part 4

    This part fixes ironic/api, ironic/cmd, ironic/tests 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: I92e5f0d50c3b507080fb95e81274a241558ce526