summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-08-04 02:50:00 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-08-04 02:50:00 +0800
commit12d7916e7d1e8047f4109c66616665b9f5011921 (patch)
tree423bfe6f218313463a2110ea91e3b4f9dd69b9be /tosca2heat/tosca-parser/toscaparser/nodetemplate.py
parentb74bf46baed7e586028255c8274ebf563d2ff446 (diff)
Add relationship of node template associated with tosca template in
substitution mapping As a nested template desinger; I want to known the tosca template which a substituted node template associated; So i will create the relationship under node template which is substituted. JIRA:PARSER-76 Change-Id: Ifb9883e5c5f630cd7f1b5d1292eddb54ad4c20be Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/nodetemplate.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/nodetemplate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/nodetemplate.py b/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
index d90b73a..10eae33 100644
--- a/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
+++ b/tosca2heat/tosca-parser/toscaparser/nodetemplate.py
@@ -48,7 +48,7 @@ class NodeTemplate(EntityTemplate):
self.available_rel_tpls = available_rel_tpls
self.available_rel_types = available_rel_types
self._relationships = {}
- self.substitution_mapped = False
+ self.substitution_mapped = None
@property
def relationships(self):