Merge "Test if property is a get_input before treating it as such"
This commit is contained in:
commit
74844f97a5
|
@ -98,7 +98,8 @@ class TOSCATranslator(object):
|
||||||
def _resolve_input(self):
|
def _resolve_input(self):
|
||||||
for n in self.tosca.nodetemplates:
|
for n in self.tosca.nodetemplates:
|
||||||
for node_prop in n.get_properties_objects():
|
for node_prop in n.get_properties_objects():
|
||||||
if isinstance(node_prop.value, dict):
|
if isinstance(node_prop.value, dict) \
|
||||||
|
and 'get_input' in node_prop.value:
|
||||||
try:
|
try:
|
||||||
self.parsed_params[node_prop.value['get_input']]
|
self.parsed_params[node_prop.value['get_input']]
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue