From f584253e0d67417108641361354c619970a724c5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 5 Jun 2011 09:31:33 -0700 Subject: [PATCH] create_world_atom: fix slot/repo atom logic --- pym/_emerge/create_world_atom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2