]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat : heat cli pep cleanups
authorSteven Hardy <shardy@redhat.com>
Tue, 16 Oct 2012 13:34:38 +0000 (14:34 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 16 Oct 2012 13:34:38 +0000 (14:34 +0100)
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 <shardy@redhat.com>
bin/heat

index 5c017fb9ceeb17d5fd0a1e2644b67a6d5d6dac23..a09c50adc229e32d0ebff8da7e5334457c4bda3f 100755 (executable)
--- 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):
     '''