diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-03 18:34:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 10:28:12 +0100 |
commit | fb8fc5e78c475e217655a05add516c2520d17a4e (patch) | |
tree | 109da1d36f254df247299ab31b540dd06b21d459 /bitbake/lib/bb/runqueue.py | |
parent | 97fda91810a062a36e419b4d3993a4a36f90f7b9 (diff) | |
download | poky-fb8fc5e78c475e217655a05add516c2520d17a4e.tar.gz |
bitbake: event/runqueue: Drop StampUpdate event, its pointless/unused
Whilst this class has existed for years, it doesn't have any
users and has a questionable interface. Drop it to allow for further
simplification and changes.
(Bitbake rev: 3ab51764f7965d696bb2c5a872bf161473df4289)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index e1cb1409bf..3cf8aed06f 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2539,17 +2539,8 @@ def start_runqueue_tasks(rqexec): | |||
2539 | for task in self.rq.scenequeue_notcovered: | 2539 | for task in self.rq.scenequeue_notcovered: |
2540 | logger.debug(1, 'Not skipping task %s', task) | 2540 | logger.debug(1, 'Not skipping task %s', task) |
2541 | 2541 | ||
2542 | for mc in rqexec.rqdata.dataCaches: | ||
2543 | target_pairs = [] | ||
2544 | for tid in rqexec.rqdata.target_tids: | ||
2545 | (tidmc, fn, taskname, _) = split_tid_mcfn(tid) | ||
2546 | if tidmc == mc: | ||
2547 | target_pairs.append((fn, taskname)) | ||
2548 | |||
2549 | event.fire(bb.event.StampUpdate(target_pairs, rqexec.rqdata.dataCaches[mc].stamp), rqexec.cfgData) | ||
2550 | rqexec.sched.initbuildable() | 2542 | rqexec.sched.initbuildable() |
2551 | 2543 | ||
2552 | |||
2553 | class TaskFailure(Exception): | 2544 | class TaskFailure(Exception): |
2554 | """ | 2545 | """ |
2555 | Exception raised when a task in a runqueue fails | 2546 | Exception raised when a task in a runqueue fails |