Fix config.setinst() to add Atom instances to the provider lists instead of
authorZac Medico <zmedico@gentoo.org>
Sat, 19 Sep 2009 21:30:08 +0000 (21:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 19 Sep 2009 21:30:08 +0000 (21:30 -0000)
plain str.

svn path=/main/trunk/; revision=14285

pym/portage/__init__.py

index 3ea8b3b72872fd40ec363b050d70b1ba3ce9fd17..b7c4e9e445e7e38f0940f92d4717a8c056710647 100644 (file)
@@ -3182,7 +3182,7 @@ class config(object):
                virts = flatten(portage.dep.use_reduce(portage.dep.paren_reduce(provides), uselist=myuse.split()))
 
                modified = False
-               cp = dep_getkey(mycpv)
+               cp = dep.Atom(cpv_getkey(mycpv))
                for virt in virts:
                        virt = dep_getkey(virt)
                        providers = self.virtuals.get(virt)