From: Christopher Larson <kergoth@gmail.com>
To: bitbake-devel@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: [PATCH] runqueue: drop unnecessary keys() in runqueue_process_waitpid
Date: Wed, 9 May 2012 18:35:48 -0500 [thread overview]
Message-ID: <1336606548-2482-1-git-send-email-kergoth@gmail.com> (raw)
From: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@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
next reply other threads:[~2012-05-09 23:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 23:35 Christopher Larson [this message]
2012-05-11 9:06 ` [PATCH] runqueue: drop unnecessary keys() in runqueue_process_waitpid Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336606548-2482-1-git-send-email-kergoth@gmail.com \
--to=kergoth@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=chris_larson@mentor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox