#NEWLINE# def check( self ) : #NEWLINE# #INDENT# if self . widget : #NEWLINE# #INDENT# self . widget . update ( ) #NEWLINE# #UNINDENT# ret_code = self . process . poll ( ) #NEWLINE# if ( ret_code is None ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# self . log . info ( 'Siege tool exit code: %s' , ret_code ) #NEWLINE# if ( ret_code != 0 ) : #NEWLINE# #INDENT# raise RuntimeError ( 'Siege tool exited with non-zero code' ) #NEWLINE# #UNINDENT# return True