Bug #304981 - Remove redundant fetch log removal code which is already
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 22:04:13 +0000 (22:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 22:04:13 +0000 (22:04 -0000)
handled by EbuildFetcher.

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

pym/_emerge/EbuildBuild.py

index 543fb1b03def414048cb21c7f5ec9f984503740f..672e2ffcf84976f3b940297dee558cc3df43317c 100644 (file)
@@ -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