summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 1 insertions, 2 deletions
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