Comment 6 for bug 1179425

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

Reviewed: https://review.openstack.org/31074
Committed: http://github.com/openstack/keystone/commit/f976bbe697002367ff00a0588a3181fd42008e1c
Submitter: Jenkins
Branch: master

commit f976bbe697002367ff00a0588a3181fd42008e1c
Author: jiataotj <email address hidden>
Date: Fri May 31 00:18:28 2013 +0800

    Implement exception module i18n support

    The doc string in exception.py of Keystone will be
    returned with __doc__ method, but cannot realize the
    internationalization.Change exception module to enable
    i18n support.

    Changes in the patch are:
    1, useing class variable msg_fmt to replace class __doc__
    2, modify wsgi.render_exception function using unicode
    function to replace str function
    3, modify/add UT test cases

    Fixes: bug # 1179425

    Change-Id: I75c1229c905a2625d2f6961d1a8dd3958eac51a5