Comment 2 for bug 1275901

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

Reviewed: https://review.openstack.org/70824
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=66e10a6c88b2e3807122b01df77b89b27e5caeb3
Submitter: Jenkins
Branch: master

commit 66e10a6c88b2e3807122b01df77b89b27e5caeb3
Author: Luis A. Garcia <email address hidden>
Date: Thu Mar 6 14:23:32 2014 -0700

    Install global lazy _()

    The patch installs the lazy _() function, which returns translatable
    Message objects, globally via the enable_lazy() method such that
    translation works in all modules.

    Since Messages objects can't be str()'d and native exceptions str()
    their messages the patch also removes passing Messages to native
    exceptions.

    Change-Id: I8a4ecd904e393c4bd0308cdeafa3cf1d8f0e70fe
    Closes-Bug: #1275901