Revert "No need to write down the nested template file"

This reverts commit 9f3ed0229e.

Change-Id: I787eec4e712511592d5bac8215fdec03f20432d7
This commit is contained in:
Mathieu Velten 2017-08-11 12:46:01 +00:00
parent 9f3ed0229e
commit c68ae3624d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class TOSCATranslator(object):
"output.yaml",
self.node_translator.hot_template_version)
for name, content in six.iteritems(yaml_files):
if name != "output.yaml" and "_res.yaml" not in name:
if name != "output.yaml":
with open(name, 'w+') as f:
f.write(content)