#NEWLINE# def get_s3_keys( self , uri ) : #NEWLINE# #INDENT# 'Get a stream of boto Key objects for each key inside\n        the given dir on S3.\n\n        uri is an S3 URI: ``s3://foo/bar``\n        ' #NEWLINE# ( bucket_name , key_prefix ) = parse_s3_uri ( uri ) #NEWLINE# bucket = self . get_bucket ( bucket_name ) #NEWLINE# for key in bucket . list ( key_prefix ) : #NEWLINE# #INDENT# ( yield key )