From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QgRTS-0001Bd-H9 for garchives@archives.gentoo.org; Tue, 12 Jul 2011 01:09:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3687821C129; Tue, 12 Jul 2011 01:09:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8858521C129 for ; Tue, 12 Jul 2011 01:09:09 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBA042AC1D4 for ; Tue, 12 Jul 2011 01:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0FD4E8003D for ; Tue, 12 Jul 2011 01:09:08 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/ X-VCS-Repository: proj/anaconda X-VCS-Files: gentoo/utils.py X-VCS-Directories: gentoo/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: c659c0377c721d70278cac8545a94e6f408f9fff Date: Tue, 12 Jul 2011 01:09:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 25d6d008153d4b2df5ec6ac56651c10b commit: c659c0377c721d70278cac8545a94e6f408f9fff Author: wiktor w brodlo brodlo net> AuthorDate: Tue Jul 12 01:08:43 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Tue Jul 12 01:08:43 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3Dc659c037 gentoo/utils.py: fix broken logger --- gentoo/utils.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoo/utils.py b/gentoo/utils.py index e0cba33..0652391 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -271,12 +271,12 @@ class GentooInstall: def install_package(self, atom, match =3D None, silent =3D False, fe= tch =3D False): if not self._portage.install(atom): log =3D open("/tmp/emerge-fail.log", "a") - log.writeln(atom+" failed to install, trying again with make= -j1") + log.write(atom+" failed to install, trying again with make -= j1\n") log.close() os.environ["MAKEOPTS"] =3D "-j1" if not self._portage.install(atom): log =3D open("/tmp/emerge-fail.log", "a") - log.writeln(atom+" failed to install the second time :("= ) + log.writeln(atom+" failed to install the second time :(\= n") log.close() del os.environ["MAKEOPTS"] =20