def safe_destroy_vdis(session, vdi_refs):
 for vdi_ref in vdi_refs:
  try:
   destroy_vdi(session, vdi_ref)
  except exception.StorageError:
   LOG.debug('Ignoring error while destroying VDI: %s', vdi_ref)

def safe_destroy_vdis ( session , vdi_refs ) : for vdi_ref in vdi_refs : try : destroy_vdi ( session , vdi_ref ) except exception . StorageError : LOG . debug ( 'Ignoring error while destroying VDI: %s' , vdi_ref )
destroys the requested vdis .