def list_orphaned_instances(orphaned_instances):
    """List orphaned instances."""
    for vm_ref, vm_rec, orphaned_instance in orphaned_instances:
        if CONF.verbose:
            print "ORPHANED INSTANCE (%s)" % orphaned_instance.name
        else:
            print orphaned_instance.name
dataset/ETHPy150Open openstack/nova/tools/xenserver/vm_vdi_cleaner.py/list_orphaned_instances/original