]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqueue: drop unnecessary keys() in runqueue_process_waitpid
authorChristopher Larson <chris_larson@mentor.com>
Wed, 9 May 2012 23:35:48 +0000 (18:35 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 May 2012 10:54:26 +0000 (11:54 +0100)
(Bitbake rev: d03dc07dea2f4e594fdbe4abe618670fe628a7c9)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py

index 8828e4af6b1ecf2f1c549d0121c652c4c53bd218..462c685d2f1137ee35f4fc466d9be0f77e35166c 100644 (file)
@@ -1064,7 +1064,7 @@ class RunQueueExecute:
         del self.build_pipes[pid]
 
         # self.build_stamps[pid] may not exist when use shared work directory.
-        if pid in self.build_stamps.keys():
+        if pid in self.build_stamps:
             del self.build_stamps[pid]
 
         if status != 0: