# Pastebin e2Zcf6le if not (consumer_uuid in mig_uuids): # By default we suspect the orphaned allocation was for a # migration... consumer_type = 'migration' if not(consumer_uuid in inst_uuids): # ... but if we can't find it either for an instance, # that means it was for this. consumer_type = 'instance'