diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-27 02:29:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-27 02:29:13 +0000 |
commit | 6630554476e12bfff427016aab6aedb4eaa2f2c6 (patch) | |
tree | 090ff5fd4d16c6f486c613f0cb8493b85e9eb69a /heatclient/v1 | |
parent | dc5911e1a34b3323820cd573e094e1ac59fd0987 (diff) | |
parent | 99b1536785ef986acf053fa958f51fb24923f171 (diff) | |
download | python-heatclient-6630554476e12bfff427016aab6aedb4eaa2f2c6.tar.gz |
Merge "Fix unicode display in parameters"0.2.10
Diffstat (limited to 'heatclient/v1')
-rw-r--r-- | heatclient/v1/shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 921ff7b..89ede40 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -469,7 +469,7 @@ def do_output_show(hc, args): else: return - print (jsonutils.dumps(value, indent=2)) + print (jsonutils.dumps(value, indent=2, ensure_ascii=False)) def do_resource_type_list(hc, args={}): @@ -513,7 +513,7 @@ def do_template_show(hc, args): if 'heat_template_version' in template: print(yaml.safe_dump(template, indent=2)) else: - print(jsonutils.dumps(template, indent=2)) + print(jsonutils.dumps(template, indent=2, ensure_ascii=False)) @utils.arg('-u', '--template-url', metavar='<URL>', @@ -556,7 +556,7 @@ def do_template_validate(hc, args): } validation = hc.stacks.validate(**fields) - print(jsonutils.dumps(validation, indent=2)) + print(jsonutils.dumps(validation, indent=2, ensure_ascii=False)) @utils.arg('id', metavar='<NAME or ID>', |