From 1576a15b283a26887fdf8f139775d400f1af3d09 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 28 Apr 2008 01:02:31 +0000 Subject: [PATCH] Add missing slot comparison when looking for higher slot in _iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10008 --- pym/_emerge/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index ee2389129..06060b0fd 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2267,8 +2267,9 @@ class depgraph(object): # This is descending order, and we're not # interested in any versions <= pkg given. break - higher_slot = visible_pkg - break + if pkg.slot_atom != visible_pkg.slot_atom: + higher_slot = visible_pkg + break if higher_slot is not None: continue for arg in atom_arg_map[(atom, pkg.root)]: -- 2.26.2