#NEWLINE# @ classmethod #NEWLINE# def unquote( cls , value ) : #NEWLINE# #INDENT# 'Unquote the value for the cookie.  If unquoting does not work a\n        :exc:`UnquoteError` is raised.\n\n        :param value: the value to unquote.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# if value . quote_base64 : #NEWLINE# #INDENT# value = base64 . b64decode ( value ) #NEWLINE# #UNINDENT# if ( cls . serialization_method is not None ) : #NEWLINE# #INDENT# value = cls . serialization_method . loads ( value ) #NEWLINE# #UNINDENT# return value #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# raise UnquoteError ( )