summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-28 05:59:20 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-28 05:59:20 +0000
commitded36bfae0aef2538187037df5af6bfb34baec89 (patch)
tree25bfb5c929b16c5697e5385b5ed06d6a7e3be1a3
parentac69d2a5586cf12356b9a93049bfbbb8d6489c31 (diff)
downloadportage-ded36bfae0aef2538187037df5af6bfb34baec89.tar.gz
portage-ded36bfae0aef2538187037df5af6bfb34baec89.tar.bz2
portage-ded36bfae0aef2538187037df5af6bfb34baec89.zip
Fix the writemsg noiselevel so that versions are correctly shown even when --quiet is enabled.
svn path=/main/trunk/; revision=3683
-rwxr-xr-xbin/emerge8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/emerge b/bin/emerge
index 5a17a8c9e..ed036f8e6 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2308,12 +2308,14 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
else:
myversion=mysplit[2]+"-"+mysplit[3]
if mytype=="selected":
- portage.writemsg_stdout(colorize("UNMERGE_WARN", myversion))
+ portage.writemsg_stdout(
+ colorize("UNMERGE_WARN", myversion), noiselevel=-1)
else:
- portage.writemsg_stdout(colorize("GOOD", myversion))
+ portage.writemsg_stdout(
+ colorize("GOOD", myversion), noiselevel=-1)
else:
portage.writemsg_stdout("none", noiselevel=-1)
- print
+ portage.writemsg_stdout("\n", noiselevel=-1)
portage.writemsg_stdout("\n>>> " + colorize("UNMERGE_WARN", "'Selected'") + \
" packages are slated for removal.\n")