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 1QHiJt-0003eC-Q2 for garchives@archives.gentoo.org; Wed, 04 May 2011 20:05:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43F3B1C02E; Wed, 4 May 2011 20:03:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 14D171C023 for ; Wed, 4 May 2011 20:03:31 +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 A161E2AC019 for ; Wed, 4 May 2011 20:03:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0A55880509 for ; Wed, 4 May 2011 20:03:30 +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: <55a00a199b363cf214c8526f65aa2f939edf73c8.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/actions.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 55a00a199b363cf214c8526f65aa2f939edf73c8 Date: Wed, 4 May 2011 20:03:30 +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: 48ff751d3c0264491e1f6fbc13221f6c commit: 55a00a199b363cf214c8526f65aa2f939edf73c8 Author: Zac Medico gentoo org> AuthorDate: Wed Apr 27 14:05:24 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed May 4 19:27:19 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D55a00a19 expand_new_virt: eliminate cpv_getkey --- pym/_emerge/actions.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 7f228a4..ce52d40 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1301,8 +1301,7 @@ def expand_new_virt(vardb, atom): while stack: atom =3D stack.pop() matches =3D vardb.match(atom) - if not (matches and \ - portage.cpv_getkey(matches[-1]).startswith("virtual/")): + if not (matches and matches[-1].startswith("virtual/")): yield atom continue =20