summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-06 09:36:53 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-06 09:36:53 +0000
commitfbe96ea48b86185427a2191f07013cd6ae842b91 (patch)
tree9d74b8037dc15e564c2e36d29d91634372830d76
parent74a1a2b6c902704448bdfc8e961e82d14c31cea3 (diff)
downloadportage-fbe96ea48b86185427a2191f07013cd6ae842b91.tar.gz
portage-fbe96ea48b86185427a2191f07013cd6ae842b91.tar.bz2
portage-fbe96ea48b86185427a2191f07013cd6ae842b91.zip
Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing.
svn path=/main/trunk/; revision=5903
-rw-r--r--pym/portage/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a2d91c15e..ff780c582 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2708,6 +2708,7 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None
# exist before and after the transition.
required_hash_types = set(portage.const.MANIFEST1_HASH_FUNCTIONS
).intersection(portage.const.MANIFEST2_HASH_FUNCTIONS)
+ required_hash_types.add(portage.const.MANIFEST2_REQUIRED_HASH)
required_hash_types.add("size")
dist_hashes = mf.fhashdict.get("DIST", {})
missing_hashes = set()