<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 9:07 PM, Christopher Larson <span dir="ltr">&lt;<a href="mailto:kergoth@gmail.com" target="_blank">kergoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":tq" class="a3s aXjCH m1579d536b7ba2cda">From: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
<br>
`if w in self.rq.worker` when w *is* self.rq.worker doesn&#39;t make a great deal<br>
of sense, and results in this error:<br>
<br>
      File &quot;.../poky/bitbake/lib/bb/<wbr>runqueue.py&quot;, line 2372, in runQueuePipe.read():<br>
                             name = None<br>
        &gt;                    if w in self.rq.worker:<br>
                                 name = &quot;Worker&quot;<br>
    TypeError: unhashable type: &#39;dict&#39;<br>
<br>
Most likely this was meant to be &#39;is&#39; rather than &#39;in&#39;, but rather than<br>
checking after the fact, just include the name in the iteration, instead.<br>
<br>
While we&#39;re here, also clean up and fix the broken error message.<br>
<br>
Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;</div></blockquote></div><br>Ah, no, it wasn’t meant to be is, clearly this was a missed w -&gt; w[mc] replacement, so it was meant to be in, just with a different value. Still worth simplifying that handling a bit, regardless :)<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div></div>
</div></div>