projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f31f8b9
)
Fix config.setinst() to return early when the given
author
Zac Medico
<zmedico@gentoo.org>
Tue, 23 Oct 2007 01:11:08 +0000
(
01:11
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 23 Oct 2007 01:11:08 +0000
(
01:11
-0000)
package already provides the virtual.
svn path=/main/trunk/; revision=8240
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 3fe7fe405fa5039c9c9c6fa89dc9e340aad6a64c..4bf3ce85a9c6acf8f2586f838218fbc781a93dce 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2065,6
+2065,9
@@
class config(object):
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 = []