]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
buildhistory-collect-srcrevs: Fix multiple SRCREV definitions
authorTobias Hagelborn <tobiasha@axis.com>
Wed, 19 Oct 2016 11:34:28 +0000 (13:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Oct 2016 10:27:33 +0000 (11:27 +0100)
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>
scripts/buildhistory-collect-srcrevs

index 8a03580f8eb2204a2bbf121dcf20fde2c360071b..d375b045d8d71c3d249cf5a0a85dd38e157a1c3f 100755 (executable)
@@ -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: