Fix broken handling of the tuple that's returned from
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 16:02:05 +0000 (16:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Dec 2007 16:02:05 +0000 (16:02 -0000)
verify_all(). Thanks to Betelgeuse. (trunk r9056)

svn path=/main/branches/2.1.2/; revision=9072

bin/repoman

index 25d6a54beb0156c9512b8dad88a3a05a396f45de..aa7ae56b43f6d22c3720d8dde777fec98e04770f 100755 (executable)
@@ -1303,7 +1303,7 @@ for x in scanlist:
                                                                fails["digest.partial"].append(y+"::"+myf)
                                                elif "assume-digests" not in repoman_settings.features:
                                                        if os.path.exists(myff):
-                                                               if not portage_checksum.verify_all(myff, mydigests[myf]):
+                                                               if not portage_checksum.verify_all(myff, mydigests[myf])[0]:
                                                                        stats["digest.fail"] += 1
                                                                        fails["digest.fail"].append(y+"::"+myf)
                                                        elif repolevel == 3: