diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-10-06 21:07:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-09 12:33:26 +0100 |
commit | f4366293ff625a50264d31b47f6ce4d983cac852 (patch) | |
tree | 9e4e0853ab61bda540b7ad345b1aab9e6d0272a8 /meta-poky/conf/conf-notes.txt | |
parent | 31aafe68523f4ee9cf2301929b7df11b9b2c05e8 (diff) | |
download | poky-f4366293ff625a50264d31b47f6ce4d983cac852.tar.gz |
bitbake: bb.runqueue: fix unexpected process death logic
`if w in self.rq.worker` when w *is* self.rq.worker doesn't make a great deal
of sense, and results in this error:
File ".../poky/bitbake/lib/bb/runqueue.py", line 2372, in runQueuePipe.read():
name = None
> if w in self.rq.worker:
name = "Worker"
TypeError: unhashable type: 'dict'
Most likely this was meant to be 'is' rather than 'in', but rather than
checking after the fact, just include the name in the iteration, instead.
While we're here, also clean up and fix the broken error message.
(Bitbake rev: 267e025cad44c8bd0fb157f1f7a2e08df117ba84)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf/conf-notes.txt')
0 files changed, 0 insertions, 0 deletions