* [gentoo-commits] portage r12923 - main/branches/2.1.6/pym/_emerge
@ 2009-03-11 5:57 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-11 5:57 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-03-11 05:57:54 +0000 (Wed, 11 Mar 2009)
New Revision: 12923
Modified:
main/branches/2.1.6/pym/_emerge/__init__.py
Log:
When displaying the list of failed packages, tell the number that failed.
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r12655)
Modified: main/branches/2.1.6/pym/_emerge/__init__.py
===================================================================
--- main/branches/2.1.6/pym/_emerge/__init__.py 2009-03-11 05:57:35 UTC (rev 12922)
+++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-03-11 05:57:54 UTC (rev 12923)
@@ -10640,8 +10640,13 @@
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:"
+ if len(self._failed_pkgs_all) > 1:
+ msg = "The following %d packages have " % \
+ len(self._failed_pkgs_all) + \
+ "failed to build or install:"
+ else:
+ msg = "The following package has " + \
+ "failed to build or install:"
prefix = bad(" * ")
writemsg(prefix + "\n", noiselevel=-1)
from textwrap import wrap
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 5:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 5:57 [gentoo-commits] portage r12923 - main/branches/2.1.6/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