
27 Sep
2016
27 Sep
'16
2:33 a.m.
On 26 September 2016 at 08:30, Paul Burton paul.burton@imgtec.com wrote:
In python 3.x the iteritems() method has been removed from dictionaries, and the items() method does effectively the same thing. Convert the code to attempt to use iteritems() to be efficient on python 2.x, but use items() when that fails on python 3.x.
Signed-off-by: Paul Burton paul.burton@imgtec.com
tools/dtoc/dtoc.py | 24 ++++++++++++++++++++---- tools/dtoc/fdt_fallback.py | 8 +++++++- 2 files changed, 27 insertions(+), 5 deletions(-)
Similar comment to previous patch...