Comment 18 for bug 1799406

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

Reviewed: https://review.openstack.org/613656
Committed: https://git.openstack.org/cgit/openstack/aodh/commit/?id=dbf6d2770dcd97d2ef2939ca735309e44b946c4d
Submitter: Zuul
Branch: master

commit dbf6d2770dcd97d2ef2939ca735309e44b946c4d
Author: Corey Bryant <email address hidden>
Date: Fri Oct 26 13:58:56 2018 -0400

    PY3: Ensure _refresh is passed str type for reason

    Drop the use of oslo.i18n's Message class when defining the reason
    argument that is passed to _refresh(). Ensuing code that _refresh()
    uses, in particular pymysql [1], expects a unicode str type rather
    than an oslo_i18n._message.Message type.

    [1] https://github.com/PyMySQL/PyMySQL/blob/v0.9.2/pymysql/converters.py#L68

    Change-Id: Icc59edc8a91ba7ae6929e853f1bf09bd25cdc039
    Closes-Bug: #1799406