def update_ready(self, jobs=None):
    'Update information whether a job is ready to execute.\n\n        Given jobs must be needrun jobs!\n        '
    if (jobs is None):
        jobs = self.needrun_jobs
    candidate_groups = set()
    for job in jobs:
        if ((not self.finished(job)) and self._ready(job)):
            if (job.group is None):
                self._ready_jobs.add(job)
            else:
                group = self._group[job]
                group.finalize()
                candidate_groups.add(group)
    self._ready_jobs.update((group for group in candidate_groups if all((self._ready(job) for job in group))))
Update information whether a job is ready to execute.

Given jobs must be needrun jobs!
def update_ready(self, jobs=None):
    'Update information whether a job is ready to execute.\n\n        Given jobs must be needrun jobs!\n        '
    if (jobs is None):
        jobs = self.needrun_jobs
    candidate_groups = set()
    for job in jobs:
        if ((not self.finished(job)) and self._ready(job)):
            if (job.group is None):
                self._ready_jobs.add(job)
            else:
                group = self._group[job]
                group.finalize()
                candidate_groups.add(group)
    self._ready_jobs.update((group for group in candidate_groups if all((self._ready(job) for job in group))))