#NEWLINE# def save( self , data ) : #NEWLINE# #INDENT# args = dict ( secret = self . secret , path = '/' , expires = ( int ( time . time ( ) ) + self . cookie_expires ) ) #NEWLINE# if self . secure : #NEWLINE# #INDENT# args [ 'secure' ] = True #NEWLINE# #UNINDENT# if self . httponly : #NEWLINE# #INDENT# args [ 'httponly' ] = True #NEWLINE# #UNINDENT# bottle . response . set_cookie ( self . cookie_name , pickle . dumps ( data ) , ** args )