Don't use json.dumps() on the output of get_template

Change-Id: I913e9f9e2b90cd983fb9674b18b6c81d66129e6c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2012-06-22 14:11:01 +10:00
parent 2eadedf5fd
commit 0d9052ef4f

View File

@ -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')