summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-24 18:26:08 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-24 18:26:08 +0000
commitc19fd553f0abf9c502811d878d13ac35cb276bdc (patch)
tree9cee7aabda7615256f988e97a634a8a2459ce1bc
parent73aa5897223c6be7d690ad18d737947c92a767db (diff)
downloadportage-c19fd553f0abf9c502811d878d13ac35cb276bdc.tar.gz
portage-c19fd553f0abf9c502811d878d13ac35cb276bdc.tar.bz2
portage-c19fd553f0abf9c502811d878d13ac35cb276bdc.zip
Inside fetch(), only mention /var/log/emerge-fetch.log in locking messages
when called by emerge. svn path=/main/trunk/; revision=12553
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
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 " + \