#NEWLINE# def complete_run( self ) : #NEWLINE# #INDENT# 'called when finshed running all tasks' #NEWLINE# for result in self . failures : #NEWLINE# #INDENT# self . write ( ( ( '#' * 40 ) + '\n' ) ) #NEWLINE# msg = ( '%s - taskid:%s\n' % ( result [ 'exception' ] . get_name ( ) , result [ 'task' ] . name ) ) #NEWLINE# self . write ( msg ) #NEWLINE# self . write ( result [ 'exception' ] . get_msg ( ) ) #NEWLINE# self . write ( '\n' ) #NEWLINE# task = result [ 'task' ] #NEWLINE# if self . show_out : #NEWLINE# #INDENT# out = '' . join ( [ a . out for a in task . actions if a . out ] ) #NEWLINE# self . write ( ( '%s\n' % out ) ) #NEWLINE# #UNINDENT# if self . show_err : #NEWLINE# #INDENT# err = '' . join ( [ a . err for a in task . actions if a . err ] ) #NEWLINE# self . write ( ( '%s\n' % err ) ) #NEWLINE# #UNINDENT# #UNINDENT# if self . runtime_errors : #NEWLINE# #INDENT# self . write ( ( ( '#' * 40 ) + '\n' ) ) #NEWLINE# self . write ( 'Execution aborted.\n' ) #NEWLINE# self . write ( '\n' . join ( self . runtime_errors ) ) #NEWLINE# self . write ( '\n' )