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.1.9.49~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6416b9c83047419818c4cb18cc90fb64dfd1d179;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