#NEWLINE# @ classmethod #NEWLINE# def __update_nodes_to_error( cls , q_nodes_to_error , error_type ) : #NEWLINE# #INDENT# if q_nodes_to_error . count ( ) : #NEWLINE# #INDENT# logger . debug ( 'Updating nodes to error with error_type "{0}": {1}' . format ( error_type , [ n . full_name for n in cls ] ) ) #NEWLINE# for n in q_nodes_to_error : #NEWLINE# #INDENT# n . status = 'error' #NEWLINE# n . progress = 0 #NEWLINE# n . error_type = error_type