From fbe96ea48b86185427a2191f07013cd6ae842b91 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 6 Feb 2007 09:36:53 +0000 Subject: [PATCH] Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing. svn path=/main/trunk/; revision=5903 --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.26.2