From: Zac Medico Date: Sun, 12 Dec 2010 10:21:50 +0000 (-0800) Subject: BinpkgVerifier: don't unlink emerge-fetch.log X-Git-Tag: v2.2.0_alpha8~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95d07400e6ef8874f2a30056288b5f1821d89663;p=portage.git BinpkgVerifier: don't unlink emerge-fetch.log --- 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)