From 72e30f993ac7b964d445f5c922139574e2c9893d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 May 2011 00:09:19 -0700 Subject: expand_new_virt: skip match for non-virtual cat --- pym/portage/dbapi/_expand_new_virt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/_expand_new_virt.py b/pym/portage/dbapi/_expand_new_virt.py index 7a233f10b..6fccd164e 100644 --- a/pym/portage/dbapi/_expand_new_virt.py +++ b/pym/portage/dbapi/_expand_new_virt.py @@ -18,7 +18,8 @@ def expand_new_virt(vardb, atom): while stack: atom = stack.pop() - if atom.blocker: + if atom.blocker or \ + not atom.cp.startswith("virtual/"): yield atom continue -- cgit v1.2.3-1-g7c22