From 55db7a606d5f18feebbdc8cda7db21c619fc30c8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Apr 2009 06:48:25 +0000 Subject: [PATCH] Fix bug in old-style virtuals code from previous commit. (trunk r13249) svn path=/main/branches/2.1.6/; revision=13428 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 5cf360ec0..64638d9be 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -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 -- 2.26.2