From: Zac Medico Date: Mon, 3 Jul 2006 00:27:41 +0000 (-0000) Subject: When assume-digests is enabled, for digest generation if the number of parsed digests... X-Git-Tag: v2.1.1~296 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb28c2231f2d7ebf2decbe0c1fcd8dc0fb54a347;p=portage.git 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 --- 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: