summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulien zhang <zhang.jun3g@zte.com.cn>2017-09-10 14:39:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-10 14:39:43 +0000
commit792dd7acf8ac48ccb6fc35d99e4099559a2c9e9c (patch)
tree18da0a7b4e797e2e949037285d6dfc0df0b2b0d3
parent2cc6c115312eed7931a4ecf96b3ff3f19645011a (diff)
parent5018163eae36d9ce8464a778960b7f77a19ba70a (diff)
Merge "fix costum datatype definition in parameters"
-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)