Fix exceptions overwritten when nested import service topology
[parser.git] / tosca2heat / tosca-parser / toscaparser / topology_template.py
index 4571fe7..080108e 100644 (file)
@@ -66,7 +66,7 @@ class TopologyTemplate(object):
     def _inputs(self):
         inputs = []
         for name, attrs in self._tpl_inputs().items():
-            input = Input(name, attrs)
+            input = Input(name, attrs, self.custom_defs)
             if self.parsed_params and name in self.parsed_params:
                 input.validate(self.parsed_params[name])
             else: