summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-12 02:21:50 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-12 02:35:05 -0800
commite6359cc0f21763d3f268f6b8032dbfaec6ec2138 (patch)
treee247c43e5d5623600d75d89aebe3792cf376b5a6
parent88e7cb5c627063a79b6636bcae7734dfb35902e0 (diff)
downloadportage-e6359cc0f21763d3f268f6b8032dbfaec6ec2138.tar.gz
portage-e6359cc0f21763d3f268f6b8032dbfaec6ec2138.tar.bz2
portage-e6359cc0f21763d3f268f6b8032dbfaec6ec2138.zip
BinpkgVerifier: don't unlink emerge-fetch.log
-rw-r--r--pym/_emerge/BinpkgVerifier.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/pym/_emerge/BinpkgVerifier.py b/pym/_emerge/BinpkgVerifier.py
index e787437d0..6c71977c6 100644
--- a/pym/_emerge/BinpkgVerifier.py
+++ b/pym/_emerge/BinpkgVerifier.py
@@ -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)