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 1REtNY-0005nD-Uk for garchives@archives.gentoo.org; Sat, 15 Oct 2011 01:49:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A58F4E0160; Sat, 15 Oct 2011 01:49:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6BE15E0160 for ; Sat, 15 Oct 2011 01:49:27 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03AE61B401F for ; Sat, 15 Oct 2011 01:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1C26780042 for ; Sat, 15 Oct 2011 01:49:26 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <5e88b0d4ced1deb01ae18ea7868745d35b2fd7b2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/eclass_cache.py X-VCS-Directories: pym/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 5e88b0d4ced1deb01ae18ea7868745d35b2fd7b2 Date: Sat, 15 Oct 2011 01:49:26 +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: b49fbe7866aea939785a8427bbad7831 commit: 5e88b0d4ced1deb01ae18ea7868745d35b2fd7b2 Author: Zac Medico gentoo org> AuthorDate: Sat Oct 15 01:49:13 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 15 01:49:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D5e88b0d4 eclass_cache: fix cache_getter typo This triggered a regression since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212 that caused cache entries containing eclass paths to appear invalid. --- pym/portage/eclass_cache.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index fb18741..2f6e947 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -138,7 +138,7 @@ class cache(object): our_getter =3D operator.attrgetter(chf_type) cache_getter =3D lambda x:x if stores_paths: - key_getter =3D operator.itemgetter(1) + cache_getter =3D operator.itemgetter(1) d =3D {} for eclass, ec_data in ec_dict.items(): cached_data =3D self.eclasses.get(eclass)