#NEWLINE# def __getstate__( self ) : #NEWLINE# #INDENT# if ( 'chunk_cache' in self . __dict__ ) : #NEWLINE# #INDENT# self . chunk_cache . Flush ( ) #NEWLINE# res = self . __dict__ . copy ( ) #NEWLINE# del self [ 'chunk_cache' ] #NEWLINE# return res #NEWLINE# #UNINDENT# return self . __dict__