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:21:50 -0800
commit95d07400e6ef8874f2a30056288b5f1821d89663 (patch)
tree6ea883db5b26ad36115ea1e8c228e71df267ec4e
parentf8cb556ac6680b8e3d8c3090c3cb7abae04cb242 (diff)
downloadportage-95d07400e6ef8874f2a30056288b5f1821d89663.tar.gz
portage-95d07400e6ef8874f2a30056288b5f1821d89663.tar.bz2
portage-95d07400e6ef8874f2a30056288b5f1821d89663.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)