Revert "ebuild(1): allow-missing-manifests for fetch"
authorZac Medico <zmedico@gentoo.org>
Thu, 14 Jul 2011 00:36:24 +0000 (17:36 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 14 Jul 2011 00:36:24 +0000 (17:36 -0700)
This reverts commit 62712db56bb863b4eb0a9d9c52e7b2c3ad38df66.

This code already defaulted to the allow-missing-manifests behavior,
since the fetch() allow_missing_digests argument default is true. By
making the argument conditional on allow-missing-manifests, it changed
the behavior in the default case where allow-missing-manifests is
disabled.

pym/portage/package/ebuild/doebuild.py

index 26afbc28ef012daa09c384c10a81908f0e5eb8ed..1849af94f264d22de86feaf126e48d302f579d3f 100644 (file)
@@ -764,11 +764,9 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
                                fetchme = aalist
                        else:
                                fetchme = alist
-                       allow_missing_manifests = \
-                               "allow-missing-manifests" in mysettings.features
+
                        if not fetch(fetchme, mysettings, listonly=listonly,
-                               fetchonly=fetchonly,
-                               allow_missing_digests=allow_missing_manifests):
+                               fetchonly=fetchonly, allow_missing_digests=True):
                                spawn_nofetch(mydbapi, myebuild, settings=mysettings)
                                if listonly:
                                        # The convention for listonly mode is to report