summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-20 03:47:18 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-20 03:47:18 +0000
commitf56cea7f9fc79c3babc1976f4f19acd7132f1784 (patch)
tree0311445b313d5580a3d0becdec1e92ec20fae79d /pym
parent381b61bb4a14d06d1805888e6afea747eba78a97 (diff)
downloadportage-f56cea7f9fc79c3babc1976f4f19acd7132f1784.tar.gz
portage-f56cea7f9fc79c3babc1976f4f19acd7132f1784.tar.bz2
portage-f56cea7f9fc79c3babc1976f4f19acd7132f1784.zip
As suggested by vapier, send emerge -fp output to stdout and make it work together with --quiet.
svn path=/main/trunk/; revision=4485
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py
index c7d48205d..104f1a279 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2114,7 +2114,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
fetched=0
file_lock = None
if listonly:
- writemsg("\n")
+ writemsg_stdout("\n", noiselevel=-1)
else:
if use_locks and can_fetch:
if locks_in_subdir:
@@ -2185,7 +2185,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
for loc in filedict[myfile]:
if listonly:
- writemsg(loc+" ")
+ writemsg_stdout(loc+" ", noiselevel=-1)
continue
# allow different fetchcommands per protocol
protocol = loc[0:loc.find("://")]
@@ -2342,7 +2342,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
portage_locks.unlockfile(file_lock)
if listonly:
- writemsg("\n")
+ writemsg_stdout("\n", noiselevel=-1)
if fetched != 2:
if restrict_fetch:
print "\n!!!", mysettings["CATEGORY"] + "/" + \