summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-24 19:14:19 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-24 19:14:19 +0000
commit696d91e472b0aac0405f8e0b2b9850de75e48b2e (patch)
treeddf71da5eb7cfefc01a25371f6335bb7f93bcfb8
parentc19fd553f0abf9c502811d878d13ac35cb276bdc (diff)
downloadportage-696d91e472b0aac0405f8e0b2b9850de75e48b2e.tar.gz
portage-696d91e472b0aac0405f8e0b2b9850de75e48b2e.tar.bz2
portage-696d91e472b0aac0405f8e0b2b9850de75e48b2e.zip
Remove the emerge-fetch.log lock message code from fetch() since this is
handled by the EbuildBuild class when it synchronizes with the prefetcher. svn path=/main/trunk/; revision=12554
-rw-r--r--pym/portage/__init__.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 7f2acefb1..b2f0a1620 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3720,18 +3720,6 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
has_space = False
if distdir_writable and use_locks:
- waiting_msg = None
- 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 " + \
- "/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:
lock_file = os.path.join(mysettings["DISTDIR"],
@@ -3742,8 +3730,6 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
lock_kwargs = {}
if fetchonly:
lock_kwargs["flags"] = os.O_NONBLOCK
- else:
- lock_kwargs["waiting_msg"] = waiting_msg
try:
file_lock = portage.locks.lockfile(myfile_path,