#NEWLINE# def __exit__( self , * exc_args ) : #NEWLINE# #INDENT# if ( not self . is_alive ( ) ) : #NEWLINE# #INDENT# if ( self . verbose > 1 ) : #NEWLINE# #INDENT# print ( '{}: has stopped on context exit' . format ( self . _identifier ) ) #NEWLINE# #UNINDENT# return #NEWLINE# #UNINDENT# if ( self . verbose > 1 ) : #NEWLINE# #INDENT# print ( '{}: is still running on context exit' . format ( self . _identifier ) ) #NEWLINE# #UNINDENT# self . __cleanup ( )