public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10008 - main/trunk/pym/_emerge
@ 2008-04-28  1:02 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-04-28  1:02 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-04-28 01:02:31 +0000 (Mon, 28 Apr 2008)
New Revision: 10008

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Add missing slot comparison when looking for higher slot in
_iter_atoms_for_pkg().


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-04-28 00:52:44 UTC (rev 10007)
+++ main/trunk/pym/_emerge/__init__.py	2008-04-28 01:02:31 UTC (rev 10008)
@@ -2267,8 +2267,9 @@
 					# 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)]:

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-28  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28  1:02 [gentoo-commits] portage r10008 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox