From 55a00a199b363cf214c8526f65aa2f939edf73c8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 27 Apr 2011 07:05:24 -0700 Subject: expand_new_virt: eliminate cpv_getkey --- pym/_emerge/actions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22