#NEWLINE# def check( self ) : #NEWLINE# #INDENT# failed = [ ] #NEWLINE# for ( job , requires ) in self . jobs : #NEWLINE# #INDENT# r = requires . copy ( ) #NEWLINE# for depClass in self . ignoreDepClasses : #NEWLINE# #INDENT# r . removeDepsByClass ( depClass ) #NEWLINE# #UNINDENT# if ( not self . masterProvides . satisfies ( r ) ) : #NEWLINE# #INDENT# failedDep = deps . DependencySet ( ) #NEWLINE# for ( depClass , dep ) in r . iterDeps ( ) : #NEWLINE# #INDENT# subSet = deps . DependencySet ( ) #NEWLINE# subSet . addDeps ( depClass , [ dep ] ) #NEWLINE# if ( not self . masterProvides . satisfies ( subSet ) ) : #NEWLINE# #INDENT# failedDep . union ( subSet ) #NEWLINE# #UNINDENT# #UNINDENT# failed . append ( ( ( job [ 0 ] , job [ 2 ] [ 0 ] , job [ 2 ] [ 1 ] ) , failedDep ) ) #NEWLINE# #UNINDENT# #UNINDENT# return failed