From: Zac Medico Date: Mon, 28 Apr 2008 01:02:31 +0000 (-0000) Subject: Add missing slot comparison when looking for higher slot in X-Git-Tag: v2.2_pre6~93 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1576a15b283a26887fdf8f139775d400f1af3d09;p=portage.git Add missing slot comparison when looking for higher slot in _iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10008 --- 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)]: