summaryrefslogtreecommitdiffstats
path: root/pym
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:13:19 -0700
commit6416b9c83047419818c4cb18cc90fb64dfd1d179 (patch)
tree23275046723d9c1b2e9a34b7f441ff8e4b94418c /pym
parent042e0231b4fa8ab7b5de707e64e5f427530caac6 (diff)
downloadportage-6416b9c83047419818c4cb18cc90fb64dfd1d179.tar.gz
portage-6416b9c83047419818c4cb18cc90fb64dfd1d179.tar.bz2
portage-6416b9c83047419818c4cb18cc90fb64dfd1d179.zip
expand_new_virt: skip match for non-virtual cat
Diffstat (limited to 'pym')
-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