From: Zac Medico Date: Tue, 22 Jul 2008 00:35:17 +0000 (-0000) Subject: Adjust status messages for --fetchonly mode. X-Git-Tag: v2.2_rc2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1e8cc68d7f0360d24df8ca4c78d2df974f64456;p=portage.git Adjust status messages for --fetchonly mode. svn path=/main/trunk/; revision=11160 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 04037d6b9..60d3fe2c7 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3366,6 +3366,9 @@ class MergeListItem(CompositeTask): if pkg.type_name == "binary": action_desc = "Extracting" + if build_opts.fetchonly: + action_desc = "Fetching" + if not build_opts.pretend: self.statusMessage("%s (%s of %s) %s %s %s" % \ @@ -3474,9 +3477,10 @@ class PackageMerge(AsynchronousTask): action_desc = "Installing" preposition = "to" - self.merge.statusMessage("%s %s %s %s" % \ - (action_desc, colorize("GOOD", pkg.cpv), - preposition, pkg.root)) + if not self.merge.build_opts.fetchonly: + self.merge.statusMessage("%s %s %s %s" % \ + (action_desc, colorize("GOOD", pkg.cpv), + preposition, pkg.root)) self.returncode = self.merge.merge() self.wait()