summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/qa.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-07 13:56:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 14:06:51 +0100
commit534325fd1fb5f4b1d6c652e73d744061154f1eff (patch)
tree48de1c053da50b8eeded9165ce5827de90ab82c2 /meta/lib/oe/qa.py
parente16faa55daca2a87190ce66dc98a37906ecf90af (diff)
downloadpoky-534325fd1fb5f4b1d6c652e73d744061154f1eff.tar.gz
image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage
The has_key() attribute has been removed in python 3 since there is better syntax available. Use the improved syntax. (From OE-Core rev: 3dff13793e875ff58cc38c4a960caca9b6969843) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/qa.py')
-rw-r--r--meta/lib/oe/qa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index c4376f0161..d5cdaa0fcd 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -93,7 +93,7 @@ class ELFFile:
93 import bb.process 93 import bb.process
94 import sys 94 import sys
95 95
96 if self.objdump_output.has_key(cmd): 96 if cmd in self.objdump_output:
97 return self.objdump_output[cmd] 97 return self.objdump_output[cmd]
98 98
99 objdump = d.getVar('OBJDUMP', True) 99 objdump = d.getVar('OBJDUMP', True)