def list_orphaned_instances(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

def list_orphaned_instances ( 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
list orphaned instances .