From f56cea7f9fc79c3babc1976f4f19acd7132f1784 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 20 Sep 2006 03:47:18 +0000 Subject: [PATCH] As suggested by vapier, send emerge -fp output to stdout and make it work together with --quiet. svn path=/main/trunk/; revision=4485 --- pym/portage.py | 6 +++--- 1 file 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"] + "/" + \ -- 2.26.2