public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11147 - main/trunk/pym/_emerge
@ 2008-07-20  5:01 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-07-20  5:01 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-07-20 05:01:22 +0000 (Sun, 20 Jul 2008)
New Revision: 11147

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Redirect some more unmerge() output through writemsg_level() so that it can
filtered out when in background mode.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-07-20 02:38:09 UTC (rev 11146)
+++ main/trunk/pym/_emerge/__init__.py	2008-07-20 05:01:22 UTC (rev 11147)
@@ -9924,12 +9924,14 @@
 		if (not "--quiet" in myopts):
 			newline="\n"
 		if settings["ROOT"] != "/":
-			print darkgreen(newline+ \
-				">>> Using system located in ROOT tree "+settings["ROOT"])
+			writemsg_level(darkgreen(newline+ \
+				">>> Using system located in ROOT tree %s\n" % \
+				settings["ROOT"]))
+
 		if (("--pretend" in myopts) or ("--ask" in myopts)) and \
 			not ("--quiet" in myopts):
-			print darkgreen(newline+\
-				">>> These are the packages that would be unmerged:")
+			writemsg_level(darkgreen(newline+\
+				">>> These are the packages that would be unmerged:\n"))
 
 		# Preservation of order is required for --depclean and --prune so
 		# that dependencies are respected. Use all_selected to eliminate




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-20  5:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20  5:01 [gentoo-commits] portage r11147 - main/trunk/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