Inside fetch(), only mention /var/log/emerge-fetch.log in locking messages
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Jan 2009 18:26:08 +0000 (18:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Jan 2009 18:26:08 +0000 (18:26 -0000)
when called by emerge.

svn path=/main/trunk/; revision=12553

pym/portage/__init__.py

index 5dbb982ab97bd571a6060d827b0c76c13be9f214..7f2acefb19e2ac06a4b2ca5a00358575d7fb6a7a 100644 (file)
@@ -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 " + \