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 23:05:13 +0100 |
commit | 52ce79dcba4c161509a6cc3ee3afe5cd6a99d53f (patch) | |
tree | 305ca59109812b075e8eda7f637c60276ee51517 /scripts/buildhistory-collect-srcrevs | |
parent | e36d04abb724002be015e7ea0f776b0d326c9dcb (diff) | |
download | poky-52ce79dcba4c161509a6cc3ee3afe5cd6a99d53f.tar.gz |
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]
(From OE-Core rev: 003df7dfb932c551953fbf1bd769b3c31bd16fb4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-collect-srcrevs')
0 files changed, 0 insertions, 0 deletions