#NEWLINE# def restore_frozen_basket( self ) : #NEWLINE# #INDENT# '\n        Restores a frozen basket as the sole OPEN basket.  Note that this also\n        merges in any new products that have been added to a basket that has\n        been created while payment.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# fzn_basket = self . get_submitted_basket ( ) #NEWLINE# #UNINDENT# except Basket . DoesNotExist : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fzn_basket . thaw ( ) #NEWLINE# if ( fzn_basket . request . basket . id != fzn_basket . id ) : #NEWLINE# #INDENT# fzn_basket . merge ( self . request . basket ) #NEWLINE# fzn_basket . strategy = self . request . basket . strategy #NEWLINE# self . request . basket = fzn_basket