BinpkgVerifier: don't unlink emerge-fetch.log
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Dec 2010 10:21:50 +0000 (02:21 -0800)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Dec 2010 10:35:05 +0000 (02:35 -0800)
pym/_emerge/BinpkgVerifier.py

index e787437d04a91f8b87b626db3da7a9b73f15b4ee..6c71977c60486a40dbb27213edd6f8f70ed717df 100644 (file)
@@ -51,13 +51,7 @@ class BinpkgVerifier(AsynchronousTask):
                                        noiselevel=-1)
                                rval = 1
                        if rval == os.EX_OK:
-                               # If this was successful, discard the log here since otherwise
-                               # we'll get multiple logs for the same package.
-                               if self.logfile is not None:
-                                       try:
-                                               os.unlink(self.logfile)
-                                       except OSError:
-                                               pass
+                               pass
                        elif file_exists:
                                pkg_path = bintree.getname(pkg.cpv)
                                head, tail = os.path.split(pkg_path)