From 44fb03e01b964a76487c754935bd7cff5c94904b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 22:04:13 +0000 Subject: [PATCH] Bug #304981 - Remove redundant fetch log removal code which is already handled by EbuildFetcher. svn path=/main/trunk/; revision=15720 --- pym/_emerge/EbuildBuild.py | 7 ------- 1 file changed, 7 deletions(-) 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 -- 2.26.2