Inside fetch(), only mention /var/log/emerge-fetch.log in locking messages
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:25:45 +0000 (03:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:25:45 +0000 (03:25 -0000)
when called by emerge. (trunk r12553)

svn path=/main/branches/2.1.6/; revision=12839

pym/portage/__init__.py

index 27ba5efbdf45ff4f2d1e35450930ddf5a280216b..ea035a98754e0f2305377f1c8d3aa3e330a3dc3c 100644 (file)
@@ -3711,7 +3711,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 " + \