]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
COW.py: fix sample codes
authorKai Kang <kai.kang@windriver.com>
Sun, 9 Oct 2016 08:34:32 +0000 (16:34 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 10:59:49 +0000 (10:59 +0000)
commitd140f0ee6f301264e226914766d9f63558acfd6c
treec32908845747ab5718a12c9ecbefc89b2ba1fb84
parentf981b68f66718d5b196684f4e378a5f195ff0337
COW.py: fix sample codes

The call of methods iteritems() and itervalues() in sample codes were
replaced by items() and values() to convert to Python 3 by Bitbake rev
d0f904d407f57998419bd9c305ce53e5eaa36b24. But the methods iteritems()
and itervalues() belong to class COWDictMeta not class dict or set. The
modifications should not be made in purpose that it fails to run sample
codes, so revert them.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/COW.py