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

svn path=/main/branches/2.1.6/; revision=13576

pym/_emerge/__init__.py

index aa9abbee8db751da8a16a1537f4a75df083ee4c6..0d14d6a98d58aa3bc7e670e0d8cc94a7661ad187 100644 (file)
@@ -1722,9 +1722,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: