#NEWLINE# @ method ( priority = 20 ) #NEWLINE# @ requires ( option = 'cannot_be_none' , values = not_none ) #NEWLINE# def wf_run_if_not_none( self ) : #NEWLINE# #INDENT# name = 'run_if_not_none' #NEWLINE# self . stats [ name ] += 1 #NEWLINE# if ( self . state [ ( - 1 ) ] == ( 'fail %s' % name ) ) : #NEWLINE# #INDENT# self . failed = True #NEWLINE# #UNINDENT# self . state = [ name , self . state [ ( - 1 ) ] ]