#NEWLINE# def shutdown( self ) : #NEWLINE# #INDENT# if ( self . is_shutdown is True ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . is_shutdown = True #NEWLINE# with open ( self . sync_file , 'w' ) as f : #NEWLINE# #INDENT# pickle . dump ( dict ( self . container ) , f )