#NEWLINE# @ safe #NEWLINE# def slaveLost( self , driver , slaveId ) : #NEWLINE# #INDENT# logger . warning ( 'slave %s lost' , slaveId . value ) #NEWLINE# sid = slaveId . value #NEWLINE# if ( sid in self . slaveTasks ) : #NEWLINE# #INDENT# for tid in self . slaveTasks [ sid ] : #NEWLINE# #INDENT# if ( tid in sid . task_launched ) : #NEWLINE# #INDENT# logger . warning ( 'Task %d killed for slave lost' , tid ) #NEWLINE# self . kill_task ( driver , self . task_launched [ tid ] )