diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-12 00:09:19 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-12 00:13:19 -0700 |
commit | 6416b9c83047419818c4cb18cc90fb64dfd1d179 (patch) | |
tree | 23275046723d9c1b2e9a34b7f441ff8e4b94418c | |
parent | 042e0231b4fa8ab7b5de707e64e5f427530caac6 (diff) | |
download | portage-6416b9c83047419818c4cb18cc90fb64dfd1d179.tar.gz portage-6416b9c83047419818c4cb18cc90fb64dfd1d179.tar.bz2 portage-6416b9c83047419818c4cb18cc90fb64dfd1d179.zip |
expand_new_virt: skip match for non-virtual cat
-rw-r--r-- | pym/portage/dbapi/_expand_new_virt.py | 3 |
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 |