Comment 4 for bug 1286306

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Related fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/90577
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=23edc1b4ce8af2a2a4c3eb3c9c095354f3983d8b
Submitter: Jenkins
Branch: master

commit 23edc1b4ce8af2a2a4c3eb3c9c095354f3983d8b
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Apr 27 10:21:21 2014 +0800

    Remove str() from LOG.* and exceptions

    gettextutils is expecting to receive unicode strings
    rather than basestrings. A basestring can cause an
    unhandled exception in the logging code. To help avoid
    such issues we should remove str() from LOG.* messages and
    exceptions. We have verified that the %s formatting code
    properly handle getting strings to unicode where necessary.

    Copied from https://review.openstack.org/#/c/77722

    Change-Id: I082af5c9ae8bf9859382c2c387b10b48358e10b3
    Related-Bug: #1286306