summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-22 03:42:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-22 03:42:34 +0000
commit5f1caad49179cf13034e4e6583ad695ab2109931 (patch)
treef11925a310e6a376b425775d379dedce3db0dd77
parentd80cc165c9e81906fd9fa3aaedad153d2ad5f05e (diff)
downloadportage-5f1caad49179cf13034e4e6583ad695ab2109931.tar.gz
portage-5f1caad49179cf13034e4e6583ad695ab2109931.tar.bz2
portage-5f1caad49179cf13034e4e6583ad695ab2109931.zip
Disable "Installing" status messages when in --pretend or --buildpkgonly
mode. svn path=/main/trunk/; revision=11163
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index cc2c20a82..9bbd89dd2 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3477,7 +3477,9 @@ class PackageMerge(AsynchronousTask):
action_desc = "Installing"
preposition = "to"
- if not self.merge.build_opts.fetchonly:
+ if not self.merge.build_opts.fetchonly and \
+ not self.merge.build_opts.pretend and \
+ not self.merge.build_opts.buildpkgonly:
self.merge.statusMessage("%s %s %s %s" % \
(action_desc, colorize("GOOD", pkg.cpv),
preposition, pkg.root))