From: Zac Medico Date: Tue, 6 Feb 2007 09:36:53 +0000 (-0000) Subject: Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing. X-Git-Tag: v2.2_pre1~1747 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fbe96ea48b86185427a2191f07013cd6ae842b91;p=portage.git Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing. svn path=/main/trunk/; revision=5903 --- 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()