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

This commit is contained in:
Jenkins 2017-08-11 12:59:19 +00:00 committed by Gerrit Code Review
commit ba0675f9d8
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)