summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/parameters.py
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/parameters.py')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/parameters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/parameters.py b/tosca2heat/tosca-parser/toscaparser/parameters.py
index 0e24b99..d2d2eb3 100644
--- a/tosca2heat/tosca-parser/toscaparser/parameters.py
+++ b/tosca2heat/tosca-parser/toscaparser/parameters.py
@@ -92,7 +92,7 @@ class Input(object):
elif EntityType.DATATYPE_NETWORK_PREFIX + self.type in tosca:
datatype = tosca[EntityType.DATATYPE_NETWORK_PREFIX + self.type]
elif self.type in self.custom_defs:
- datatype = self.custom_defs[self.type]
+ datatype = self.custom_defs
DataEntity.validate_datatype(self.type, value, None, datatype)