Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 21:59:26 +0000 (21:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 21:59:26 +0000 (21:59 -0000)
since PORTAGE_RESTRICT is calculated by config.setcpv() now.

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

pym/_emerge/__init__.py

index fb642c8539cccd5d4dae2096a5e319976eb0219b..fc58198f66d088808290b3fe5ce3dcb50647156d 100644 (file)
@@ -1741,9 +1741,6 @@ class EbuildFetchonly(SlotObject):
                ebuild_path = portdb.findname(pkg.cpv)
                settings.setcpv(pkg)
                debug = settings.get("PORTAGE_DEBUG") == "1"
-               use_cache = 1 # always true
-               portage.doebuild_environment(ebuild_path, "fetch",
-                       settings["ROOT"], settings, debug, use_cache, portdb)
                restrict_fetch = 'fetch' in settings['PORTAGE_RESTRICT'].split()
 
                if restrict_fetch: