expand_new_virt: skip match for non-virtual cat
authorZac Medico <zmedico@gentoo.org>
Thu, 12 May 2011 07:09:19 +0000 (00:09 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 12 May 2011 07:09:19 +0000 (00:09 -0700)
pym/portage/dbapi/_expand_new_virt.py

index 7a233f10b25f2db5ae171d3a3aa23e6b298ecaa1..6fccd164eb2f77da74bad08082713d2d0f01ef0a 100644 (file)
@@ -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