From: Zac Medico Date: Wed, 27 Apr 2011 14:05:24 +0000 (-0700) Subject: expand_new_virt: eliminate cpv_getkey X-Git-Tag: v2.1.9.47~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=55a00a199b363cf214c8526f65aa2f939edf73c8;p=portage.git expand_new_virt: eliminate cpv_getkey --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 7f228a4f7..ce52d4067 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1301,8 +1301,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