From: Zac Medico Date: Tue, 2 Mar 2010 22:29:00 +0000 (-0000) Subject: Bug #304981 - Remove redundant fetch log removal code which is already X-Git-Tag: v2.1.8~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aba68a739a2974e60579721be005c3a698c4a14f;p=portage.git Bug #304981 - Remove redundant fetch log removal code which is already handled by EbuildFetcher. (trunk r15720) svn path=/main/branches/2.1.7/; revision=15723 --- diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py index 543fb1b03..672e2ffcf 100644 --- a/pym/_emerge/EbuildBuild.py +++ b/pym/_emerge/EbuildBuild.py @@ -106,13 +106,6 @@ class EbuildBuild(CompositeTask): os.path.exists(fetcher.logfile): self.settings["PORTAGE_LOG_FILE"] = fetcher.logfile - if not fetch_failed and fetcher.logfile is not None: - # Fetch was successful, so remove the fetch log. - try: - os.unlink(fetcher.logfile) - except OSError: - pass - if fetch_failed or opts.fetchonly: self.wait() return