Comment 2 for bug 1452546

Revision history for this message
Dimitri Mazmanov (sorantis) wrote :

This dict will also allow using the following construct:

Instead of
if node.type == "tosca.nodes.Compute":
have
if node.type in TOSCA_TO_HOT_TYPE.get_other_keys("tosca.nodes.Compute", True):