From eb28c2231f2d7ebf2decbe0c1fcd8dc0fb54a347 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Jul 2006 00:27:41 +0000 Subject: [PATCH] When assume-digests is enabled, for digest generation if the number of parsed digests does not match the number of digest types that are supported. See bug #138911. svn path=/main/trunk/; revision=3772 --- pym/portage_manifest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py index 13c6932d2..ee9b4b833 100644 --- a/pym/portage_manifest.py +++ b/pym/portage_manifest.py @@ -459,6 +459,7 @@ class Manifest(object): ((assumeDistHashesSometimes and mystat is None) or \ (assumeDistHashesAlways and mystat is None) or \ (assumeDistHashesAlways and mystat is not None and \ + len(distfilehashes[f]) == len(self.hashes) and \ distfilehashes[f]["size"] == mystat.st_size)): self.fhashdict["DIST"][f] = distfilehashes[f] else: -- 2.26.2