]> git.sur5r.net Git - u-boot/commit
patman: Use items() to iterate over dictionaries
authorPaul Burton <paul.burton@imgtec.com>
Tue, 27 Sep 2016 15:03:54 +0000 (16:03 +0100)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commitc9eac38a25b53085f18a831eb28c27512982cc5f
tree420ba0200679cd0cd87678d9f890b2b4057aedcd
parent2ce7b21e6c98301f9b05daac076db33d498cfbe1
patman: Use items() to iterate over dictionaries

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 this code switch to using items() anyway
for simplicity.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/settings.py