From: Zac Medico Date: Wed, 27 Apr 2011 14:05:24 +0000 (-0700) Subject: expand_new_virt: eliminate cpv_getkey X-Git-Tag: v2.2.0_alpha31~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=55000abdfb5a9a5da9d7ee17e752cae4a2756e27;p=portage.git expand_new_virt: eliminate cpv_getkey --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index e4e87da76..c05d7e23d 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1302,8 +1302,7 @@ def expand_new_virt(vardb, atom): while stack: atom = stack.pop() matches = 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