diff options
author | Ethan Lynn <xjunlin@cn.ibm.com> | 2014-06-16 16:33:23 +0800 |
---|---|---|
committer | Ethan Lynn <xjunlin@cn.ibm.com> | 2014-06-18 00:05:05 +0800 |
commit | 99b1536785ef986acf053fa958f51fb24923f171 (patch) | |
tree | 60792f0054510868e472196a1014abdcd80abef1 /heatclient/common/utils.py | |
parent | 5a78fdf4eca4d74ce32c6e31d1e01ee1d21ae06d (diff) | |
download | python-heatclient-99b1536785ef986acf053fa958f51fb24923f171.tar.gz |
Fix unicode display in parameters
When parameters contain unicode, stack-show will display unicode
as '\u2665'. It's not easy to read by human.
This change will change '\u2665' to readable unicode char '♥' when
display to users.
Change-Id: I00a74943138b292b71f848966ee64a658be64bc2
Partial-Bug: #1330370
Diffstat (limited to 'heatclient/common/utils.py')
-rw-r--r-- | heatclient/common/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/common/utils.py b/heatclient/common/utils.py index fb9400d..901b526 100644 --- a/heatclient/common/utils.py +++ b/heatclient/common/utils.py @@ -41,7 +41,7 @@ def link_formatter(links): def json_formatter(js): - return jsonutils.dumps(js, indent=2) + return jsonutils.dumps(js, indent=2, ensure_ascii=False) def text_wrap_formatter(d): |