result(N) -> return the result of job N.
(self,num)
| 330 | print('No jobs to flush.') |
| 331 | |
| 332 | def result(self,num): |
| 333 | """result(N) -> return the result of job N.""" |
| 334 | try: |
| 335 | return self.all[num].result |
| 336 | except KeyError: |
| 337 | error('Job #%s not found' % num) |
| 338 | |
| 339 | def _traceback(self, job): |
| 340 | num = job if isinstance(job, int) else job.num |