From: Zac Medico Date: Sat, 19 Sep 2009 21:30:08 +0000 (-0000) Subject: Fix config.setinst() to add Atom instances to the provider lists instead of X-Git-Tag: v2.2_rc41~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc400181e511105e34678c7106e05ca8f93e2437;p=portage.git Fix config.setinst() to add Atom instances to the provider lists instead of plain str. svn path=/main/trunk/; revision=14285 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 3ea8b3b72..b7c4e9e44 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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)