From 0d9052ef4f708c34aafa3bb3ebcd126d76db9db1 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Fri, 22 Jun 2012 14:11:01 +1000 Subject: [PATCH] Don't use json.dumps() on the output of get_template Change-Id: I913e9f9e2b90cd983fb9674b18b6c81d66129e6c Signed-off-by: Angus Salkeld --- bin/heat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.45.2