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 <shardy@redhat.com>
This commit is contained in:
Steven Hardy 2012-10-16 14:34:38 +01:00
parent b1c97d1455
commit cd512f5e91

View File

@ -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 = {}
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
def template_validate(options, arguments):