generic-poky/scripts/lib/wic
Ed Bartosh 52ce79dcba 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>
2016-05-14 23:05:13 +01:00
..
canned-wks wic: move parts of canned .wks into common.wks.inc 2016-01-20 17:07:13 +00:00
config wic: get rid of scripts/lib/image 2015-09-03 12:43:25 +01:00
imager wic: don't use dict.keys and dict.has_key 2016-05-14 23:05:13 +01:00
plugins wic: use sparse_copy to preserve sparseness 2016-05-06 10:31:13 +01:00
utils wic: don't use dict.keys and dict.has_key 2016-05-14 23:05:13 +01:00
__init__.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00
__version__.py wic: Bump the version to 2.0 2014-08-11 10:53:12 +01:00
conf.py wic: use items instead of iteritems 2016-05-14 23:05:13 +01:00
creator.py wic: use items instead of iteritems 2016-05-14 23:05:13 +01:00
engine.py wic: replace print statements with print function 2016-05-14 23:05:13 +01:00
filemap.py wic: add sparse_copy API 2016-05-06 10:31:13 +01:00
help.py wic: use items instead of iteritems 2016-05-14 23:05:13 +01:00
ksparser.py wic: add --system-id wks option 2016-04-29 07:58:44 +01:00
msger.py wic: fix short variable names 2015-09-03 12:43:31 +01:00
partition.py wic: use truncate utility to create sparse files 2016-05-06 10:31:12 +01:00
plugin.py wic: don't use dict.keys and dict.has_key 2016-05-14 23:05:13 +01:00
pluginbase.py wic: fix short variable names 2015-09-03 12:43:31 +01:00
test wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00