summaryrefslogtreecommitdiffstats
path: root/bin/oeread
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-26 20:19:06 +0000
committerChris Larson <clarson@kergoth.com>2004-01-26 20:19:06 +0000
commit4121395d88f3ed384e68ca13d41aa99348c5b456 (patch)
tree08f85fda95eea6b900b7973033fa0870b8f49908 /bin/oeread
parent06ab870f18faf432a6c541237c89ed16de1e6617 (diff)
downloadbitbake-contrib-4121395d88f3ed384e68ca13d41aa99348c5b456.tar.gz
Replacing B.has_key(A) calls with A in B.
Diffstat (limited to 'bin/oeread')
-rw-r--r--bin/oeread2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oeread b/bin/oeread
index 7d1fb7734..5c0773f8a 100644
--- a/bin/oeread
+++ b/bin/oeread
@@ -20,7 +20,7 @@ if len(sys.argv) == 2:
if k.startswith('FILES_'): continue
if k.startswith('do_'): continue
if k.startswith('oe'): continue
- if cfg.has_key(k):
+ if k in cfg:
if cfg[k] == oefile[k]:
continue
print k,'=',oe.data.expand(oefile[k]['content'], oefile)