@sync_performer
def perform_list_s3_keys(dispatcher, intent):
 s3 = boto.connect_s3()
 bucket = s3.get_bucket(intent.bucket)
 return {key.name[len(intent.prefix):] for key in bucket.list(intent.prefix)}

@ sync_performer def perform_list_s3_keys ( dispatcher , intent ) : s3 = boto . connect_s3 ( ) bucket = s3 . get_bucket ( intent . bucket ) return { key . name [ len ( intent . prefix ) : ] for key in bucket . list ( intent . prefix ) }
see :class:lists3keys .