- if (lower_rid.startswith(lower_vm_type)
- and not rid.startswith(vm_type)):
- bad[rid] = vm_type
- assert not bad, 'resource_id which do not match their vm-type %s' % bad
-
+ if lower_rid.startswith(lower_vm_type) and not rid.startswith(vm_type):
+ bad[rid] = vm_type
+ assert not bad, "resource_id which do not match their vm-type %s" % bad