#NEWLINE# @ method ( priority = 5 ) #NEWLINE# @ requires ( state = ( lambda x : ( x [ ( - 1 ) ] < 3 ) ) ) #NEWLINE# def wf_needs_data( self ) : #NEWLINE# #INDENT# name = 'needs_data' #NEWLINE# self . stats [ name ] += 1 #NEWLINE# if ( self . state [ ( - 1 ) ] == ( 'fail %s' % name ) ) : #NEWLINE# #INDENT# self . failed = True #NEWLINE# #UNINDENT# self . state = [ name , name . state [ ( - 1 ) ] ]