summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTobias Hagelborn <tobiasha@axis.com>2016-10-19 13:34:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-28 16:15:17 +0100
commit61e7ad5141e2a48840e825d9fcd3dd249135ce9b (patch)
treeac4278ef7eaf34e5160eb87cc84c7ed10515e57c /scripts
parente5815d0b607ff262663864d51fe51fbb37172329 (diff)
downloadpoky-61e7ad5141e2a48840e825d9fcd3dd249135ce9b.tar.gz
buildhistory-collect-srcrevs: Fix multiple SRCREV definitions
Fixed copy & paste error causing error when extracting SRCREV for packages containing multiple SRCREV definitons. (From OE-Core rev: abcb6efb6af2b2f31a12c373f8fcabce71d305c0) Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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 8a03580f8e..d375b045d8 100755
--- a/scripts/buildhistory-collect-srcrevs
+++ b/scripts/buildhistory-collect-srcrevs
@@ -101,7 +101,7 @@ def main():
101 for name, value in srcrevs.items(): 101 for name, value in srcrevs.items():
102 orig = orig_srcrevs.get(name, orig_srcrev) 102 orig = orig_srcrevs.get(name, orig_srcrev)
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, value))
105 105
106 for curdir, srcrevs in sorted(all_srcrevs.items()): 106 for curdir, srcrevs in sorted(all_srcrevs.items()):
107 if srcrevs: 107 if srcrevs: