diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-04 16:06:16 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 07:26:42 +0100 |
commit | 003df7dfb932c551953fbf1bd769b3c31bd16fb4 (patch) | |
tree | a508854a79bc7d7a741047e51cd8a7c27c5ea4fe /meta-selftest | |
parent | 5b14eb8d68aaca82de4f8f6bcb28ad6f4a5125d0 (diff) | |
download | openembedded-core-003df7dfb932c551953fbf1bd769b3c31bd16fb4.tar.gz openembedded-core-003df7dfb932c551953fbf1bd769b3c31bd16fb4.tar.bz2 openembedded-core-003df7dfb932c551953fbf1bd769b3c31bd16fb4.zip |
wic: don't use dict.keys and dict.has_key
Replaced calls of dict.keys and dict.has_key methods with the
'key in dict' statement. 'key in dict' is more pythonic, faster
and readable. dict.has_key doesn't exist in Python 3.
[YOCTO #9412]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions