Make sure to fetch files if MANIFEST2_REQUIRED_HASH is missing.
authorZac Medico <zmedico@gentoo.org>
Tue, 6 Feb 2007 09:36:53 +0000 (09:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 6 Feb 2007 09:36:53 +0000 (09:36 -0000)
svn path=/main/trunk/; revision=5903

pym/portage/__init__.py

index a2d91c15ea38e37320614d6eae648403f8c0be30..ff780c5820953946f247e229fb81f33f991fee88 100644 (file)
@@ -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()