]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Pass string to template_format.parse()
authorZane Bitter <zbitter@redhat.com>
Thu, 6 Dec 2012 19:15:27 +0000 (20:15 +0100)
committerZane Bitter <zbitter@redhat.com>
Thu, 6 Dec 2012 19:33:51 +0000 (20:33 +0100)
commit28ea091448efaeb26839845e4655f5fdd6ff8833
tree950fbd4bd8016e9e53f2e89ca29613ef2adbb02c
parent842e6cc31da7e060aba9409a91bd46149223d61e
Pass string to template_format.parse()

Since template_format.parse() attempts to guess the type of the input
instead of using yaml.parse for everything, the input must be a string and
not a stream, even though yaml.parse() can handle either.

Change-Id: I07dc13a54492f3f6db17bfca3cc9e129c765eed5
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/resources/stack.py