mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
scripts: Fix deprecated dict methods for python3
Replaced iteritems -> items, itervalues -> values, iterkeys -> keys or 'in' (From OE-Core rev: 25d4d8274bac696a484f83d7f3ada778cf95f4d0) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
63404baadb
commit
7eab022d4b
@@ -1178,7 +1178,7 @@ def update_with_history(conf, components, revisions, repos):
|
||||
# components imported head revision.
|
||||
if additional_heads:
|
||||
runcmd("git reset --hard", **wargs)
|
||||
for rev, base in additional_heads.iteritems():
|
||||
for rev, base in additional_heads.items():
|
||||
apply_commit(base, rev, wargs, wargs, None)
|
||||
|
||||
# Commit with all component branches as parents as well as the previous head.
|
||||
|
||||
Reference in New Issue
Block a user