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

Author: zmedico
Date: 2008-12-26 20:49:57 +0000 (Fri, 26 Dec 2008)
New Revision: 12349

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Fix loop logic some more for bug #252572.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-12-26 20:34:18 UTC (rev 12348)
+++ main/trunk/pym/_emerge/__init__.py	2008-12-26 20:49:57 UTC (rev 12349)
@@ -7007,15 +7007,17 @@
 						except KeyError:
 							pass
 						else:
+							uninst_task = node
 							ignored_uninstall_tasks.add(node)
 							break
 
-				# After dropping an Uninstall task, reset
-				# the state variables for leaf node selection and
-				# continue trying to select leaf nodes.
-				prefer_asap = True
-				accept_root_node = False
-				continue
+				if uninst_task is not None:
+					# After dropping an Uninstall task, reset
+					# the state variables for leaf node selection and
+					# continue trying to select leaf nodes.
+					prefer_asap = True
+					accept_root_node = False
+					continue
 
 			if not selected_nodes:
 				self._circular_deps_for_display = mygraph




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

only message in thread, other threads:[~2008-12-26 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 20:49 [gentoo-commits] portage r12349 - 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