#NEWLINE# def any_deps_failed( self , completed_jobs ) : #NEWLINE# #INDENT# 'Return True if any dependencies which have been completed have failed.' #NEWLINE# return any ( [ ( not completed_jobs . get ( completed_jobs , True ) ) for dep_id in self . deps ] )