]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wic: use next builtin instead of .next method
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 4 May 2016 13:06:27 +0000 (16:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 May 2016 06:26:43 +0000 (07:26 +0100)
commit9b7ab632e47d786dd979262015dbfb1254103f83
treef47fa12134301e7da8727dd08fd3a8e6ac276fb0
parenta56924b4a0102e401b5e37d857a08bab15da974e
wic: use next builtin instead of .next method

Generators in Python 3 don't have .next method. It's recommended
to use 'next' builtin instead. As it also present in Python >= 2.6
it should make wic code compatible with both Python 2 and Python 3.

[YOCTO #9412]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/filemap.py
scripts/lib/wic/msger.py