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>
This commit is contained in:
Tobias Hagelborn 2016-10-19 13:34:28 +02:00 committed by Richard Purdie
parent e5815d0b60
commit 61e7ad5141
1 changed files with 1 additions and 1 deletions

View File

@ -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: