summaryrefslogtreecommitdiffstats
path: root/scripts/buildhistory-collect-srcrevs
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-18 18:39:44 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 07:24:01 (GMT)
commit7eab022d4b484aec40998f95835ba46c5da168cf (patch)
treee88a3bf01eada7d44e41bfadee5721ce6ec198e0 /scripts/buildhistory-collect-srcrevs
parent63404baadbfd1225bbb955f8c8f817073aef65d8 (diff)
downloadpoky-7eab022d4b484aec40998f95835ba46c5da168cf.tar.gz
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>
Diffstat (limited to 'scripts/buildhistory-collect-srcrevs')
-rwxr-xr-xscripts/buildhistory-collect-srcrevs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildhistory-collect-srcrevs b/scripts/buildhistory-collect-srcrevs
index f3eb76b..79d2657 100755
--- a/scripts/buildhistory-collect-srcrevs
+++ b/scripts/buildhistory-collect-srcrevs
@@ -103,7 +103,7 @@ def main():
103 if options.reportall or value != orig: 103 if options.reportall or value != orig:
104 all_srcrevs[curdir].append((pn, name, srcrev)) 104 all_srcrevs[curdir].append((pn, name, srcrev))
105 105
106 for curdir, srcrevs in sorted(all_srcrevs.iteritems()): 106 for curdir, srcrevs in sorted(all_srcrevs.items()):
107 if srcrevs: 107 if srcrevs:
108 print('# %s' % curdir) 108 print('# %s' % curdir)
109 for pn, name, srcrev in srcrevs: 109 for pn, name, srcrev in srcrevs: