diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 21520d3d6a..7dd964d1c4 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -2488,6 +2488,9 @@ class runQueueTaskFailed(runQueueEvent): | |||
| 2488 | runQueueEvent.__init__(self, task, stats, rq) | 2488 | runQueueEvent.__init__(self, task, stats, rq) |
| 2489 | self.exitcode = exitcode | 2489 | self.exitcode = exitcode |
| 2490 | 2490 | ||
| 2491 | def __str__(self): | ||
| 2492 | return "Task (%s) failed with exit code '%s'" % (self.taskstring, self.exitcode) | ||
| 2493 | |||
| 2491 | class sceneQueueTaskFailed(sceneQueueEvent): | 2494 | class sceneQueueTaskFailed(sceneQueueEvent): |
| 2492 | """ | 2495 | """ |
| 2493 | Event notifying a setscene task failed | 2496 | Event notifying a setscene task failed |
| @@ -2496,6 +2499,9 @@ class sceneQueueTaskFailed(sceneQueueEvent): | |||
| 2496 | sceneQueueEvent.__init__(self, task, stats, rq) | 2499 | sceneQueueEvent.__init__(self, task, stats, rq) |
| 2497 | self.exitcode = exitcode | 2500 | self.exitcode = exitcode |
| 2498 | 2501 | ||
| 2502 | def __str__(self): | ||
| 2503 | return "Setscene task (%s) failed with exit code '%s' - real task will be run instead" % (self.taskstring, self.exitcode) | ||
| 2504 | |||
| 2499 | class sceneQueueComplete(sceneQueueEvent): | 2505 | class sceneQueueComplete(sceneQueueEvent): |
| 2500 | """ | 2506 | """ |
| 2501 | Event when all the sceneQueue tasks are complete | 2507 | Event when all the sceneQueue tasks are complete |
