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 1QF5Nt-0000w1-7d for garchives@archives.gentoo.org; Wed, 27 Apr 2011 14:06:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 180FB1C0FC; Wed, 27 Apr 2011 14:06:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DE0F01C0FC for ; Wed, 27 Apr 2011 14:06:16 +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 75FBF1B4022 for ; Wed, 27 Apr 2011 14:06:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C5BFA80505 for ; Wed, 27 Apr 2011 14:06:15 +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: <55000abdfb5a9a5da9d7ee17e752cae4a2756e27.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master 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: 55000abdfb5a9a5da9d7ee17e752cae4a2756e27 Date: Wed, 27 Apr 2011 14:06:15 +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: 7cf606a01b940b62be1780f0b73cd532 commit: 55000abdfb5a9a5da9d7ee17e752cae4a2756e27 Author: Zac Medico gentoo org> AuthorDate: Wed Apr 27 14:05:24 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Apr 27 14:05:24 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D55000abd 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 e4e87da..c05d7e2 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1302,8 +1302,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