summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-19 09:57:35 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-19 09:57:35 +0000
commit7d4ef7bd6309a79c60c44d73398d90fe23196687 (patch)
tree4a1625771aa605ac3dac1512c398e7c592ab205e
parent2acca867498d5f260c41f531a029ec4cb31b7435 (diff)
downloadportage-7d4ef7bd6309a79c60c44d73398d90fe23196687.tar.gz
portage-7d4ef7bd6309a79c60c44d73398d90fe23196687.tar.bz2
portage-7d4ef7bd6309a79c60c44d73398d90fe23196687.zip
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. svn path=/main/trunk/; revision=12540
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 814ce7052..478faf235 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -10357,7 +10357,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(" * ")