#NEWLINE# def on_stdout_received( self , data ) : #NEWLINE# #INDENT# super ( CMakeMakeIOBufferProtocol , self ) . on_stdout_received ( data ) #NEWLINE# progress_matches = re . match ( '\\[\\s*([0-9]+)%\\]' , self . _decode ( data ) ) #NEWLINE# if ( progress_matches is not None ) : #NEWLINE# #INDENT# self . event_queue . put ( ExecutionEvent ( 'STAGE_PROGRESS' , job_id = self . job_id , stage_label = self . stage_label , percent = str ( progress_matches . groups ( ) [ 0 ] ) ) )