Bug #214879 - In fetch(), only parse the Manifest when FEATURES=strict
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Mar 2008 23:37:58 +0000 (23:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Mar 2008 23:37:58 +0000 (23:37 -0000)
is enabled.

svn path=/main/trunk/; revision=9512

pym/portage/__init__.py

index 16f68c749b43197f00b8194172d394ba535f740d..6fe3d6a826668eb2191118064e80b4a76e2f59e3 100644 (file)
@@ -3098,7 +3098,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
                        mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x]
 
        pkgdir = mysettings.get("O")
-       if pkgdir:
+       if pkgdir and "strict" in features:
                mydigests = Manifest(
                        pkgdir, mysettings["DISTDIR"]).getTypeDigests("DIST")
        else: