summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-29 22:52:54 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-29 22:52:54 +0000
commit4938a24ec29d7553bfe258b73c29c7d469072b86 (patch)
tree53bbc33ee8d77e34e264a179afe28aa134a35fa8
parent57dd8b23ae2d51525cec671d098a2f1758e2358d (diff)
downloadportage-4938a24ec29d7553bfe258b73c29c7d469072b86.tar.gz
portage-4938a24ec29d7553bfe258b73c29c7d469072b86.tar.bz2
portage-4938a24ec29d7553bfe258b73c29c7d469072b86.zip
Fix bug in old-style virtuals code from previous commit.
svn path=/main/trunk/; revision=13249
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4fa46dbc1..3facb56e6 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -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