
27 Sep
2016
27 Sep
'16
7:55 p.m.
On 27 September 2016 at 09:03, 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. On python 2.x using items() is a little less efficient since it involves copying data, but as speed isn't a concern in the affected code switch to using items() anyway for simplicity.
Signed-off-by: Paul Burton paul.burton@imgtec.com
Changes in v2:
- Just use items() for all python versions
tools/dtoc/dtoc.py | 8 ++++---- tools/dtoc/fdt_fallback.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
Acked-by: Simon Glass sjg@chromium.org