Fix bug in old-style virtuals code from previous commit.
authorZac Medico <zmedico@gentoo.org>
Sun, 29 Mar 2009 22:52:54 +0000 (22:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 29 Mar 2009 22:52:54 +0000 (22:52 -0000)
svn path=/main/trunk/; revision=13249

pym/_emerge/__init__.py

index 4fa46dbc1cd4eedd59c6a0dc98c7407664f9c38c..3facb56e696bc380856ab7e4f48d9e101896bf98 100644 (file)
@@ -6754,7 +6754,7 @@ class depgraph(object):
                        final_db = self.mydbapi[myroot]
                        
                        provider_virtual = False
-                       if blocker.cp.startswith('virtual/') and \
+                       if blocker.cp in virtuals and \
                                not self._have_new_virt(blocker.root, blocker.cp):
                                provider_virtual = True