summaryrefslogtreecommitdiff
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 11:27:33 +0100
commitabcb6efb6af2b2f31a12c373f8fcabce71d305c0 (patch)
treee6e50d6e6ba1a32f7329e21a5adf23d242bd86c4
parent0e651676817a0513abf50741d0ba28b35edbae09 (diff)
downloadopenembedded-core-abcb6efb6af2b2f31a12c373f8fcabce71d305c0.tar.gz
openembedded-core-abcb6efb6af2b2f31a12c373f8fcabce71d305c0.tar.bz2
openembedded-core-abcb6efb6af2b2f31a12c373f8fcabce71d305c0.zip
buildhistory-collect-srcrevs: Fix multiple SRCREV definitions
Fixed copy & paste error causing error when extracting SRCREV for packages containing multiple SRCREV definitons. Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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():
for name, value in srcrevs.items():
orig = orig_srcrevs.get(name, orig_srcrev)
if options.reportall or value != orig:
- all_srcrevs[curdir].append((pn, name, srcrev))
+ all_srcrevs[curdir].append((pn, name, value))
for curdir, srcrevs in sorted(all_srcrevs.items()):
if srcrevs: