Show More
@@ -248,7 +248,7 b' class BackgroundJobManager:' | |||
|
248 | 248 | self._update_status() |
|
249 | 249 | new_comp = self._group_report(self._comp_report,'Completed') |
|
250 | 250 | new_dead = self._group_report(self._dead_report, |
|
251 | 'Dead, call job.traceback() for details') | |
|
251 | 'Dead, call jobs.traceback() for details') | |
|
252 | 252 | self._comp_report[:] = [] |
|
253 | 253 | self._dead_report[:] = [] |
|
254 | 254 | return new_comp or new_dead |
@@ -340,7 +340,7 b' class BackgroundJobBase(threading.Thread):' | |||
|
340 | 340 | stat_created = 'Created'; stat_created_c = 0 |
|
341 | 341 | stat_running = 'Running'; stat_running_c = 1 |
|
342 | 342 | stat_completed = 'Completed'; stat_completed_c = 2 |
|
343 | stat_dead = 'Dead (Exception), call job.traceback() for details' | |
|
343 | stat_dead = 'Dead (Exception), call jobs.traceback() for details' | |
|
344 | 344 | stat_dead_c = -1 |
|
345 | 345 | |
|
346 | 346 | def __init__(self): |
@@ -391,7 +391,7 b' class BackgroundJobBase(threading.Thread):' | |||
|
391 | 391 | self.status = BackgroundJobBase.stat_dead |
|
392 | 392 | self.stat_code = BackgroundJobBase.stat_dead_c |
|
393 | 393 | self.finished = None |
|
394 | self.result = ('<BackgroundJob died, call job.traceback() for details>') | |
|
394 | self.result = ('<BackgroundJob died, call jobs.traceback() for details>') | |
|
395 | 395 | self._tb = self._make_tb() |
|
396 | 396 | else: |
|
397 | 397 | self.status = BackgroundJobBase.stat_completed |
General Comments 0
You need to be logged in to leave comments.
Login now