#NEWLINE# def resultRetrieved( self , path , subResult ) : #NEWLINE# #INDENT# '\n        Post-process retrieved results by determining if lighting applies to\n        them.\n        ' #NEWLINE# litlinks = list ( path . of ( ILitLink ) ) #NEWLINE# if ( not litlinks ) : #NEWLINE# #INDENT# return subResult #NEWLINE# #UNINDENT# litThing = list ( path . eachTargetAs ( IThing ) ) [ ( - 1 ) ] #NEWLINE# return litlinks [ ( - 1 ) ] . applyLighting ( litThing , subResult , self . retriever . interface )