summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 420228433..4cf185bbd 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1880,6 +1880,9 @@ class config:
cp = dep_getkey(mycpv)
for virt in virts:
virt = dep_getkey(virt)
+ providers = self.virtuals.get(virt)
+ if providers and cp in providers:
+ continue
providers = self._depgraphVirtuals.get(virt)
if providers is None:
providers = []