summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2017-02-14 06:34:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-14 06:34:18 +0000
commit5c8396ba5bbeb12c70dae6ad3e777a28fefbcb4a (patch)
treebd5f7ca9feca9005813a46e873c9555dc00bb0b5
parentbb1d956508f0fc566805c4a26e43c1fc17b329ce (diff)
parentf3ce6a51de67bdc84f0351549af6268273cf36ec (diff)
Merge "heat: close file before parsing template"
-rw-r--r--yardstick/orchestrator/heat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/orchestrator/heat.py b/yardstick/orchestrator/heat.py
index c098de9e3..e39c4356c 100644
--- a/yardstick/orchestrator/heat.py
+++ b/yardstick/orchestrator/heat.py
@@ -179,7 +179,7 @@ class HeatTemplate(HeatObject):
with open(template_file) as stream:
print("Parsing external template:", template_file)
template_str = stream.read()
- self._template = template_format.parse(template_str)
+ self._template = template_format.parse(template_str)
self._parameters = heat_parameters
else:
self._init_template()