#NEWLINE# def get_safe_key( key ) : #NEWLINE# #INDENT# m = hashlib . md5 ( ) #NEWLINE# new_key = normalize ( smart_decode ( key ) ) #NEWLINE# m . update ( new_key . encode ( 'utf8' ) ) #NEWLINE# return m . hexdigest ( )