Browse Source

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>
Tobias Hagelborn 7 years ago
parent
commit
abcb6efb6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/buildhistory-collect-srcrevs

+ 1 - 1
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: