summaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-05-14 15:53:41 -0600
committerSimon Glass <sjg@chromium.org>2019-07-10 16:52:45 -0600
commit509791542816ce984ac4716827205de49b82b282 (patch)
treee8356f14089e13bbc8bc1c6d792ca0c6e20a60c6 /tools/binman/control.py
parent4a4c5dd43f02f60717ef121aa4bb89a85465ff3c (diff)
binman: Use items() instead of iteritems()
Python 3 requires this, and Python 2 allows it. Convert the code over to ensure compatibility with Python 3. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 8f7f9068604..ce25eb54858 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -131,7 +131,7 @@ def Binman(options, args):
if options.image:
skip = []
- for name, image in images.iteritems():
+ for name, image in images.items():
if name not in options.image:
del images[name]
skip.append(name)