summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/elements
diff options
context:
space:
mode:
authorjulien zhang <zhang.jun3g@zte.com.cn>2016-06-30 16:25:55 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-30 16:25:55 +0000
commitf5be8f9bf36a27ed0b8e9beaa63bc0a361e2f77b (patch)
treec64099ea2ea43c24fe0d25e296f4d125344f4114 /tosca2heat/tosca-parser/toscaparser/elements
parent467b0d29ca83943cc028d776a7cd97522a99644a (diff)
parent9c1920c1d2b8946abb68b109597d181a7690bc9f (diff)
Merge "The relationship type's parent_type definition is not complete"
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/elements')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/elements/relationshiptype.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/elements/relationshiptype.py b/tosca2heat/tosca-parser/toscaparser/elements/relationshiptype.py
index 9462d38..25440ca 100644
--- a/tosca2heat/tosca-parser/toscaparser/elements/relationshiptype.py
+++ b/tosca2heat/tosca-parser/toscaparser/elements/relationshiptype.py
@@ -26,7 +26,7 @@ class RelationshipType(StatefulEntityType):
'''Return a relationship this reletionship is derived from.'''
prel = self.derived_from(self.defs)
if prel:
- return RelationshipType(prel)
+ return RelationshipType(prel, self.custom_def)
@property
def valid_target_types(self):