Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 252572
Collapse All | Expand All

(-)pym/_emerge/__init__.py (-7 / +9 lines)
Lines 6838-6844 Link Here
6838
					selected_nodes = list(selected_nodes)
6838
					selected_nodes = list(selected_nodes)
6839
				selected_nodes.sort(cmp_circular_bias)
6839
				selected_nodes.sort(cmp_circular_bias)
6840
6840
6841
			if not selected_nodes and not myblocker_uninstalls.is_empty():
6841
			if not selected_nodes and myblocker_uninstalls.leaf_nodes():
6842
				# An Uninstall task needs to be executed in order to
6842
				# An Uninstall task needs to be executed in order to
6843
				# avoid conflict if possible.
6843
				# avoid conflict if possible.
6844
				min_parent_deps = None
6844
				min_parent_deps = None
Lines 7007-7021 Link Here
7007
						except KeyError:
7007
						except KeyError:
7008
							pass
7008
							pass
7009
						else:
7009
						else:
7010
							uninst_task = node
7010
							ignored_uninstall_tasks.add(node)
7011
							ignored_uninstall_tasks.add(node)
7011
							break
7012
							break
7012
7013
7013
				# After dropping an Uninstall task, reset
7014
				if uninst_task is not None:
7014
				# the state variables for leaf node selection and
7015
					# After dropping an Uninstall task, reset
7015
				# continue trying to select leaf nodes.
7016
					# the state variables for leaf node selection and
7016
				prefer_asap = True
7017
					# continue trying to select leaf nodes.
7017
				accept_root_node = False
7018
					prefer_asap = True
7018
				continue
7019
					accept_root_node = False
7020
					continue
7019
7021
7020
			if not selected_nodes:
7022
			if not selected_nodes:
7021
				self._circular_deps_for_display = mygraph
7023
				self._circular_deps_for_display = mygraph

Return to bug 252572