summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tosca_template.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-07-21 19:50:29 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-07-29 20:50:09 +0800
commitdb33fd6014c3d746d08002c7cfd061fcdad9868f (patch)
treecfa8406deecd8baf848834431f3581172985dc57 /tosca2heat/tosca-parser/toscaparser/tosca_template.py
parent9cf12e1857b10bdd7b49cbe7e64244670fb5a867 (diff)
Add transaction subsystem definition in the use case of
substitution_mappings As a developer; I want to implement the function of substitution_mapping; So that will complete the test file about transaction subsystem definitions for example. Change-Id: I5e44c2b4933afadf96743641279016af5afc39e0 JIRA: PARSER-68 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tosca_template.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/tosca_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tosca_template.py b/tosca2heat/tosca-parser/toscaparser/tosca_template.py
index 8753a2c..5da34d6 100644
--- a/tosca2heat/tosca-parser/toscaparser/tosca_template.py
+++ b/tosca2heat/tosca-parser/toscaparser/tosca_template.py
@@ -216,7 +216,7 @@ class ToscaTemplate(object):
path=filename, parsed_params=self.parsed_params,
yaml_dict_tpl=tosca_tpl)
if nested_template.topology_template.substitution_mappings:
- self.nested_tosca_template.apend(nested_template)
+ self.nested_tosca_template.append(nested_template)
def _validate_field(self):
version = self._tpl_version()