#NEWLINE# def __getstate__( self ) : #NEWLINE# #INDENT# state = dict ( ( ( attr , getattr ( self , attr , None ) ) for attr in self . __attrs__ ) ) #NEWLINE# state [ 'redirect_cache' ] = dict ( self . redirect_cache ) #NEWLINE# return self