From: Steven Hardy Date: Tue, 16 Oct 2012 13:34:38 +0000 (+0100) Subject: heat : heat cli pep cleanups X-Git-Tag: 2014.1~1299^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cd512f5e915ff7de89c4829e45e367f9b201a3db;p=openstack-build%2Fheat-build.git 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 --- 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): '''