From cd512f5e915ff7de89c4829e45e367f9b201a3db Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 16 Oct 2012 14:34:38 +0100 Subject: [PATCH] heat : heat cli pep cleanups Fix some pep whitespace issues, which were not picked up by the jenkins gate for some reason.. Change-Id: I9a3488d61a3cde4bb8038f3f1927eb0c1ad0f60c Signed-off-by: Steven Hardy --- bin/heat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/heat b/bin/heat index 5c017fb9..a09c50ad 100755 --- a/bin/heat +++ b/bin/heat @@ -53,6 +53,7 @@ from heat.common import exception from heat import utils from keystoneclient.v2_0 import client + def get_swift_template(options): ''' Retrieve a template from the swift object store, using @@ -85,12 +86,13 @@ def get_swift_template(options): return template_body + def get_template_param(options): ''' Helper function to extract the template in whatever format has been specified by the cli options ''' - param={} + param = {} if options.template_file: param['TemplateBody'] = open(options.template_file).read() elif options.template_url: @@ -104,6 +106,7 @@ def get_template_param(options): return param + @utils.catch_error('validate') def template_validate(options, arguments): ''' -- 2.45.2