def _makeJobGraphs(self, jobGraph, jobStore):
        """
        Creates a jobGraph for each job in the job graph, recursively.
        """
        jobsToJobGraphs = {self:jobGraph}
        for successors in (self._followOns, self._children):
            jobs = [successor._makeJobGraphs2(jobStore, jobsToJobGraphs) for successor in successors]
            jobGraph.stack.append(jobs)
        return jobsToJobGraphs
def _makeJobGraphs ( self , jobGraph , jobStore ) : jobsToJobGraphs = { self : jobGraph } for successors in ( self . _followOns , self . _children ) : jobs = [ successor . _makeJobGraphs2 ( jobStore , jobsToJobGraphs ) for successor in successors ] jobGraph . stack . append ( jobs ) return jobsToJobGraphs
Creates a jobGraph for each job in the job graph, recursively.