From: Zac Medico Date: Sun, 5 Jun 2011 16:31:33 +0000 (-0700) Subject: create_world_atom: fix slot/repo atom logic X-Git-Tag: v2.2.0_alpha38~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f584253e0d67417108641361354c619970a724c5;p=portage.git create_world_atom: fix slot/repo atom logic --- diff --git a/pym/_emerge/create_world_atom.py b/pym/_emerge/create_world_atom.py index d0141f7d8..fa7cffc26 100644 --- a/pym/_emerge/create_world_atom.py +++ b/pym/_emerge/create_world_atom.py @@ -31,7 +31,7 @@ def create_world_atom(pkg, args_set, root_config): for cpv in vardb.match(cp)) slotted = len(available_slots) > 1 or \ (len(available_slots) == 1 and "0" not in available_slots) - if slotted and arg_atom != cp: + if slotted and arg_atom.without_repo != cp: # If the user gave a specific atom, store it as a # slot atom in the world file. slot_atom = pkg.slot_atom