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 1QbZ6y-00078P-Au for garchives@archives.gentoo.org; Tue, 28 Jun 2011 14:17:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E63F01C09E; Tue, 28 Jun 2011 14:16:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AF79E1C09E for ; Tue, 28 Jun 2011 14:16:53 +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 2E30B1B4018 for ; Tue, 28 Jun 2011 14:16:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 57EBB8003C for ; Tue, 28 Jun 2011 14:16:52 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/__init__.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: f23816d7e520bf1f27eb2778d0129e9ad9d576e4 Date: Tue, 28 Jun 2011 14:16:52 +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: 7f60e51c7f8b829aa608d0fd0b7c1d3d commit: f23816d7e520bf1f27eb2778d0129e9ad9d576e4 Author: Arfrever Frehtes Taifersar Arahesis Gentoo Org> AuthorDate: Tue Jun 28 14:15:28 2011 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gentoo org> CommitDate: Tue Jun 28 14:15:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Df23816d7 read_corresponding_eapi_file(): Strip final \n from EAPI value. --- pym/portage/util/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py index ece0806..31a808b 100644 --- a/pym/portage/util/__init__.py +++ b/pym/portage/util/__init__.py @@ -390,7 +390,7 @@ def read_corresponding_eapi_file(filename): f =3D open(eapi_file, "r") lines =3D f.readlines() if len(lines) =3D=3D 1: - eapi =3D lines[0] + eapi =3D lines[0].rstrip("\n") else: writemsg(_("--- Invalid 'eapi' file (doesn't contain exactly one line= ): %s\n") % (eapi_file), noiselevel=3D-1)