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 1QI0uw-0006Wk-PQ for garchives@archives.gentoo.org; Thu, 05 May 2011 15:56:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A0FB1C062; Thu, 5 May 2011 15:56:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5CB891C062 for ; Thu, 5 May 2011 15:56:35 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABF2C1B404F for ; Thu, 5 May 2011 15:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A096480505 for ; Thu, 5 May 2011 15:56:33 +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: <4602463a7d577c8c4534f2a675182e02ba93e570.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/depgraph.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4602463a7d577c8c4534f2a675182e02ba93e570 Date: Thu, 5 May 2011 15:56:33 +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: ba046934b1c7aa2fb9dd6b3fc0acd825 commit: 4602463a7d577c8c4534f2a675182e02ba93e570 Author: Zac Medico gentoo org> AuthorDate: Thu May 5 15:58:22 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu May 5 15:58:22 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D4602463a emerge: fix misspell suggestion with category A name collision in the "cp" variable caused it to malfunction. --- pym/_emerge/depgraph.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 52b92e2..47c0232 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3075,9 +3075,8 @@ class depgraph(object): all_cp.update(bindb.cp_all()) =20 orig_cp_map =3D {} - for cp in all_cp: - cp_lower =3D cp.lower() - orig_cp_map.setdefault(cp_lower, []).append(cp) + for cp_orig in all_cp: + orig_cp_map.setdefault(cp_orig.lower(), []).append(cp_orig) all_cp =3D set(orig_cp_map) =20 if cat: