summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 64414077a..a622439aa 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3298,8 +3298,15 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
if use_locks and can_fetch:
waiting_msg = None
if not parallel_fetchonly and "parallel-fetch" in features:
- waiting_msg = ("Downloading '%s'... " + \
- "see /var/log/emerge-fetch.log for details.") % myfile
+ waiting_msg = ("Fetching '%s' " + \
+ "in the background. " + \
+ "To view fetch progress, run `tail -f " + \
+ "/var/log/emerge-fetch.log` in another " + \
+ "terminal.") % myfile
+ msg_prefix = colorize("GOOD", " * ")
+ from textwrap import wrap
+ waiting_msg = "\n".join(msg_prefix + line \
+ for line in wrap(waiting_msg, 65))
if locks_in_subdir:
file_lock = portage.locks.lockfile(
os.path.join(mysettings["DISTDIR"],