From c19fd553f0abf9c502811d878d13ac35cb276bdc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 24 Jan 2009 18:26:08 +0000 Subject: Inside fetch(), only mention /var/log/emerge-fetch.log in locking messages when called by emerge. svn path=/main/trunk/; revision=12553 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 5dbb982ab..7f2acefb1 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3721,7 +3721,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", if distdir_writable and use_locks: waiting_msg = None - if not parallel_fetchonly and "parallel-fetch" in features: + if not parallel_fetchonly and "parallel-fetch" in features \ + and "EMERGE_FROM" in mysettings: waiting_msg = ("Fetching '%s' " + \ "in the background. " + \ "To view fetch progress, run `tail -f " + \ -- cgit v1.2.3-1-g7c22