[bitbake-devel] [PATCH] runqueue: drop unnecessary keys() in runqueue_process_waitpid

Christopher Larson kergoth at gmail.com
Wed May 9 23:35:48 UTC 2012


From: Christopher Larson <chris_larson at mentor.com>

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 lib/bb/runqueue.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 8828e4a..462c685 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -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:
-- 
1.7.7





More information about the bitbake-devel mailing list