else:
bad.add(rid)
assert not bad, 'CloudConfigs %s have {vm-type} not in %s' % (
- list(bad),
- list(resource_vm_types))
+ list(bad),
+ list(resource_vm_types))
def get_cloud_configs(heat):
"""
return [rid for rid, resource in heat.resources.items()
if heat.nested_get(resource, 'type') == 'OS::Heat::CloudConfig']
+