#NEWLINE# def _get_filename( self , key ) : #NEWLINE# #INDENT# if isinstance ( key , text_type ) : #NEWLINE# #INDENT# key = key . encode ( 'utf-8' ) #NEWLINE# #UNINDENT# hash = md5 ( key ) . hexdigest ( ) #NEWLINE# return os . path . join ( self . _path , hash )