#NEWLINE# def __getstate__( self ) : #NEWLINE# #INDENT# from copy import copy #NEWLINE# d = copy ( self . __dict__ ) #NEWLINE# if ( 'design_info' in d ) : #NEWLINE# #INDENT# del d [ 'design_info' ] #NEWLINE# d [ 'restore_design_info' ] = True #NEWLINE# #UNINDENT# return d