projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d141f6c
)
patman: Use items() instead of iteritems()
author
Simon Glass
<sjg@chromium.org>
Tue, 14 May 2019 21:53:40 +0000
(15:53 -0600)
committer
Simon Glass
<sjg@chromium.org>
Wed, 10 Jul 2019 22:52:45 +0000
(16:52 -0600)
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>
tools/patman/settings.py
patch
|
blob
|
history
diff --git
a/tools/patman/settings.py
b/tools/patman/settings.py
index
ea2bc74
..
07bf6a6
100644
(file)
--- a/
tools/patman/settings.py
+++ b/
tools/patman/settings.py
@@
-163,7
+163,7
@@
class _ProjectConfigParser(ConfigParser.SafeConfigParser):
item_dict = dict(top_items)
item_dict.update(project_items)
return {(self._to_unicode(item), self._to_unicode(val))
- for item, val in item_dict.ite
rite
ms()}
+ for item, val in item_dict.items()}
def ReadGitAliases(fname):
"""Read a git alias file. This is in the form used by git: