]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqueue: Use tid instead of taskid in find_chains()
authorGeorge McCollister <george.mccollister@gmail.com>
Thu, 16 Jun 2016 20:22:03 +0000 (15:22 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jun 2016 21:42:46 +0000 (22:42 +0100)
In 2c88afb6 find_chains()'s taskid argument was renamed to tid but
taskid is still used as key to explored_deps dictionary. Use tid instead
of taskid.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/runqueue.py

index b32e8e694d43a646f38384404b1f9b2d9bf68d96..c9b6b847db16fc75fbecf93271c50ab000e763a4 100644 (file)
@@ -347,7 +347,7 @@ class RunQueueData:
                     if dep not in total_deps:
                         total_deps.append(dep)
 
-            explored_deps[taskid] = total_deps
+            explored_deps[tid] = total_deps
 
         for task in tasks:
             find_chains(task, [])