""" Remove temp files if they are no longer needed. """
needed = lambda job_, f: any(f in files
for j, files in self.depending[job_].items()
- if not self.finished(j) and j != job)
+ if not self.finished(j) and j != job)
for job_, files in self.dependencies[job].items():