diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-31 15:39:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-31 15:39:37 +0000 |
commit | 7024d936a18a74abf716bc5b0debaa26d3b2dba3 (patch) | |
tree | 4df5a461da8734669bd436fec8f76771de1fb8f2 /pym/portage_manifest.py | |
parent | 63cd6283981b21a9944c84acee5b839c8741c0ed (diff) | |
download | portage-7024d936a18a74abf716bc5b0debaa26d3b2dba3.tar.gz portage-7024d936a18a74abf716bc5b0debaa26d3b2dba3.tar.bz2 portage-7024d936a18a74abf716bc5b0debaa26d3b2dba3.zip |
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 for bug #138911. This patch is from trunk r3771:3773.
svn path=/main/branches/2.1/; revision=4058
Diffstat (limited to 'pym/portage_manifest.py')
-rw-r--r-- | pym/portage_manifest.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |