Fix broken handling of the tuple that's returned from
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Dec 2007 14:17:19 +0000 (14:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Dec 2007 14:17:19 +0000 (14:17 -0000)
verify_all(). Thanks to Betelgeuse.

svn path=/main/trunk/; revision=9056

bin/repoman

index e680fb48c5cdddd8c5b0ac23909a5410a7fc0ef8..26e438822d02af90cd541295a86d3786906cf6d0 100755 (executable)
@@ -1141,7 +1141,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: