From: Zac Medico Date: Thu, 12 May 2011 07:09:19 +0000 (-0700) Subject: expand_new_virt: skip match for non-virtual cat X-Git-Tag: v2.2.0_alpha33~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=72e30f993ac7b964d445f5c922139574e2c9893d;p=portage.git expand_new_virt: skip match for non-virtual cat --- 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