@sync_performer
def perform_delete_s3_keys(dispatcher, intent):
 s3 = boto.connect_s3()
 bucket = s3.get_bucket(intent.bucket)
 bucket.delete_keys([(intent.prefix + key) for key in intent.keys])

@ sync_performer def perform_delete_s3_keys ( dispatcher , intent ) : s3 = boto . connect_s3 ( ) bucket = s3 . get_bucket ( intent . bucket ) bucket . delete_keys ( [ ( intent . prefix + key ) for key in intent . keys ] )
see :class:deletes3keys .