projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b172c5
)
Fix config.setinst() to return early when the given
author
Zac Medico
<zmedico@gentoo.org>
Tue, 23 Oct 2007 01:13:06 +0000
(
01:13
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 23 Oct 2007 01:13:06 +0000
(
01:13
-0000)
package already provides the virtual. (trunk r8240)
svn path=/main/branches/2.1.2/; revision=8241
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 4202284337c2866f17bdce35e2637bb6f899e2c1..4cf185bbdd231cddf5bf5c0851c8e087f02bd801 100644
(file)
--- 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 = []