Fix bug in old-style virtuals code from previous commit. (trunk r13249)
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:48:25 +0000 (06:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:48:25 +0000 (06:48 -0000)
svn path=/main/branches/2.1.6/; revision=13428

pym/_emerge/__init__.py

index 5cf360ec073a7aead7edaf0eb5b19aaf41468459..64638d9be5733d65dffde06aeeca3154f198ed48 100644 (file)
@@ -6738,7 +6738,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