Removed the specific check against PORTAGE_CALLER with regard to fetching.
authorJason Stubbs <jstubbs@gentoo.org>
Sun, 11 Dec 2005 05:05:01 +0000 (05:05 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sun, 11 Dec 2005 05:05:01 +0000 (05:05 -0000)
svn path=/main/trunk/; revision=2360

pym/portage.py

index d92b94c606f29459db7db2474ccbee22169205d8..d34c45bcfbbba2f69099058129cad910f0f1123b 100644 (file)
@@ -2777,7 +2777,7 @@ def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea
        # Only try and fetch the files if we are going to need them ... otherwise,
        # if user has FEATURES=noauto and they run `ebuild clean unpack compile install`,
        # we will try and fetch 4 times :/
-       if (mydo in ["digest","fetch","unpack"] or settings["PORTAGE_CALLER"] != "ebuild" or not "noauto" in features) and \
+       if (mydo in ["digest","fetch","unpack"] or "noauto" not in features) and \
           not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly):
                return 1