From 4a2147f54fc386ed3b9fdc9481ae95a358130854 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 9 May 2012 18:35:48 -0500 Subject: runqueue: drop unnecessary keys() in runqueue_process_waitpid (Bitbake rev: d03dc07dea2f4e594fdbe4abe618670fe628a7c9) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 8828e4af6b..462c685d2f 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/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: -- cgit v1.2.3-54-g00ecf