From db33fd6014c3d746d08002c7cfd061fcdad9868f Mon Sep 17 00:00:00 2001 From: shangxdy Date: Thu, 21 Jul 2016 19:50:29 +0800 Subject: 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 --- tosca2heat/tosca-parser/toscaparser/tosca_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tosca2heat/tosca-parser/toscaparser/tosca_template.py') 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() -- cgit 1.2.3-korg