From: Zac Medico Date: Sun, 2 Oct 2011 20:22:07 +0000 (-0700) Subject: Prefer slot conflict over blocker display. X-Git-Tag: v2.2.0_alpha61~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77b651300731ec007cd535a83b8ee9a898602783;p=portage.git Prefer slot conflict over blocker display. The slot conflict display has better noise reduction than the unsatisfied blockers display, so skip unsatisfied blockers display if there are slot conflicts (see bug #385391). Note that this reverses the logic from bug 159310, since the slot conflict display has evolved a lot since then. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ad0455112..66cba0433 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -6170,13 +6170,14 @@ class depgraph(object): self._show_circular_deps( self._dynamic_config._circular_deps_for_display) - # The user is only notified of a slot conflict if - # there are no unresolvable blocker conflicts. - if self._dynamic_config._unsatisfied_blockers_for_display is not None: + # The slot conflict display has better noise reduction than + # the unsatisfied blockers display, so skip unsatisfied blockers + # display if there are slot conflicts (see bug #385391). + if self._dynamic_config._slot_collision_info: + self._show_slot_collision_notice() + elif self._dynamic_config._unsatisfied_blockers_for_display is not None: self._show_unsatisfied_blockers( self._dynamic_config._unsatisfied_blockers_for_display) - elif self._dynamic_config._slot_collision_info: - self._show_slot_collision_notice() else: self._show_missed_update()