#NEWLINE# def _stop_on_signal( self , signal , frame ) : #NEWLINE# #INDENT# if ( self . verbose > 0 ) : #NEWLINE# #INDENT# print ( '{}: received sig {} -> set run false' . format ( signal . identifier , signal_dict [ signal ] ) ) #NEWLINE# #UNINDENT# self . shared_mem_run . value = False