generic-poky/bitbake/lib/bb
Christopher Larson f4366293ff 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>
2016-10-09 12:33:26 +01:00
..
fetch2 bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
parse bitbake: cookerdata/ast: Fail gracefully if event handler function is not found 2016-09-02 18:09:49 +01:00
pysh bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
server bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
tests bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
ui bitbake: ui/knotty.py: Fix signal handling of SIGWINCH in BBProgress 2016-10-09 12:33:26 +01:00
COW.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
__init__.py bitbake: bitbake: Update version to 1.31.2 2016-10-05 10:10:11 +01:00
build.py bitbake: bb.build: in _exec_task, catch errors from TaskStarted 2016-10-05 10:28:12 +01:00
cache.py bitbake: cache: allow parsing a recipe with a custom config datastore 2016-09-02 18:09:48 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: lib/bb/checksum: avoid exception on broken symlinks 2016-07-29 09:53:32 +01:00
codeparser.py bitbake: codeparser: Use hashlib for hashing, not hash() 2016-06-03 13:48:33 +01:00
command.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
cookerdata.py bitbake: cookerdata.py: Catch BBHandledException, preventing a backtrace in an event 2016-09-21 21:58:06 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: data: Fix handling of vardepvalueexclude 2016-10-01 21:45:57 +01:00
data_smart.py bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion 2016-06-13 12:16:10 +01:00
event.py bitbake: event: prevent unclosed file warning in print_ui_queue 2016-10-05 10:25:34 +01:00
exceptions.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
main.py bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
msg.py bitbake: knotty: add quiet output mode 2016-07-08 09:57:27 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Fix py3 update stack overflow 2016-08-11 00:07:08 +01:00
process.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progress.py bitbake: lib/bb/progress: avoid possibility of start event being reported twice 2016-07-26 08:10:35 +01:00
providers.py bitbake: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
runqueue.py bitbake: bb.runqueue: fix unexpected process death logic 2016-10-09 12:33:26 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Fix file variable typo in compare_sigfiles 2016-08-20 16:11:29 +01:00
taskdata.py bitbake: taskdata/runqueue: Rewrite without use of ID indirection 2016-06-15 08:35:07 +01:00
tinfoil.py bitbake: tinfoil: add a parse_recipe_file function 2016-09-02 18:09:49 +01:00
utils.py bitbake: lib/bb/utils: edit_metadata() comment tweaks 2016-09-08 00:33:46 +01:00