Comment 2 for bug 1493233

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

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

commit fe2c6207f3ca385e9904d591d064232beb3514f1
Author: Clif Houck <email address hidden>
Date: Wed Aug 26 18:05:30 2015 -0500

    Try to standardize retrieval of an Exception's description

    Removes the use of exc.args[0] and exc.format_message() to retrieve
    message strings from exceptions in favor of using six.text_type() to
    maintain compatibility between python 2 and 3. Or through normal type
    coercion. Adds a __unicode__ method to make things more consistent.

    Closes-Bug: #1493233

    Change-Id: I033c00675a62c0ecaf3e3c2e0bed8b4f79a134e1