From: Angus Salkeld Date: Fri, 22 Jun 2012 04:11:01 +0000 (+1000) Subject: Don't use json.dumps() on the output of get_template X-Git-Tag: 2014.1~1687 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0d9052ef4f708c34aafa3bb3ebcd126d76db9db1;p=openstack-build%2Fheat-build.git Don't use json.dumps() on the output of get_template Change-Id: I913e9f9e2b90cd983fb9674b18b6c81d66129e6c Signed-off-by: Angus Salkeld --- diff --git a/bin/heat b/bin/heat index 8ee6b92a..10376864 100755 --- a/bin/heat +++ b/bin/heat @@ -122,7 +122,7 @@ def estimate_template_cost(options, arguments): c = get_client(options) result = c.estimate_template_cost(**parameters) - print json.dumps(result, indent=2) + print result @utils.catch_error('gettemplate') @@ -140,7 +140,7 @@ def get_template(options, arguments): c = get_client(options) result = c.get_template(**parameters) - print json.dumps(result, indent=2) + print result @utils.catch_error('create')