def delete_image_location_from_backend(context, image_id, location):
 deleted = False
 if CONF.delayed_delete:
  deleted = schedule_delayed_delete_from_backend(context, image_id, location)
 if (not deleted):
  safe_delete_from_backend(context, image_id, location)

def delete_image_location_from_backend ( context , image_id , location ) : deleted = False if CONF . delayed_delete : deleted = schedule_delayed_delete_from_backend ( context , image_id , location ) if ( not deleted ) : safe_delete_from_backend ( context , image_id , location )
given a location .