From patchwork Wed May 9 23:35:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] runqueue: drop unnecessary keys() in runqueue_process_waitpid Date: Wed, 09 May 2012 23:35:48 -0000 From: Christopher Larson X-Patchwork-Id: 27415 Message-Id: <1336606548-2482-1-git-send-email-kergoth@gmail.com> To: bitbake-devel@lists.openembedded.org Cc: Christopher Larson From: Christopher Larson Signed-off-by: Christopher Larson --- 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: