From: Zac Medico Date: Tue, 2 Mar 2010 22:04:13 +0000 (-0000) Subject: Bug #304981 - Remove redundant fetch log removal code which is already X-Git-Tag: v2.2_rc64~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44fb03e01b964a76487c754935bd7cff5c94904b;p=portage.git Bug #304981 - Remove redundant fetch log removal code which is already handled by EbuildFetcher. svn path=/main/trunk/; revision=15720 --- 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