Comment 2 for bug 1249238

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

Reviewed: https://review.openstack.org/56165
Committed: http://github.com/openstack/heat/commit/89f2a206343abff142fb10d1640ce3eac654f996
Submitter: Jenkins
Branch: master

commit 89f2a206343abff142fb10d1640ce3eac654f996
Author: chenxiao <email address hidden>
Date: Wed Nov 13 16:21:21 2013 +0800

    Fixes Error when contain Non-ascii in template

    when set template use non-english resource_name and execute
    "heat -v resource-list $stack_id". KeyError will occur because
    heat can not encode it correctly. This patch will implement
    a process to encode the resource_name.

    The patch use a new module (strutils.py) taken from
    oslo-incubator in order to use safe_encode() and
    safe_decode(), and this module is useful for future
    patchs.

    Change-Id: Idddda20d96bca32cb4df94ede31b40f7141e3afe
    Closes-Bug: #1249238