aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-12 00:09:19 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-12 00:09:19 -0700
commit72e30f993ac7b964d445f5c922139574e2c9893d (patch)
tree52d771613ad8e7ac6f9efc9892b667150e778098 /pym/portage
parenttreewalk: fix inverted counter init logic (diff)
downloadportage-72e30f993ac7b964d445f5c922139574e2c9893d.tar.gz
portage-72e30f993ac7b964d445f5c922139574e2c9893d.tar.bz2
portage-72e30f993ac7b964d445f5c922139574e2c9893d.zip
expand_new_virt: skip match for non-virtual cat
Diffstat (limited to 'pym/portage')
-rw-r--r--pym/portage/dbapi/_expand_new_virt.py3
1 files changed, 2 insertions, 1 deletions
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