From 122443d1f1a278dccc6220d4fe4209137481f4d7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:17:50 +0000 Subject: When in --keep-going mode, don't suppress the list of failed packages display at the end when there is only one failure, since the failure may have occurred much earlier and the related output may not be visible any longer. (trunk r12540) svn path=/main/branches/2.1.6/; revision=12826 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 6b3b680dd..01998d805 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -10341,7 +10341,8 @@ class Scheduler(PollScheduler): for msg in self._post_mod_echo_msgs: msg() - if len(self._failed_pkgs_all) > 1: + if len(self._failed_pkgs_all) > 1 or \ + (self._failed_pkgs_all and "--keep-going" in self.myopts): msg = "The following packages have " + \ "failed to build or install:" prefix = bad(" * ") -- cgit v1.2.3-1-g7c22