summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-01 21:39:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-01 21:39:39 +0000
commit7ed7d923630b26eb296fd8db5ac8690c55c4c166 (patch)
treefdfda31b24fa5a3adaf2bb05ae82e63d4e91d8ee
parent2c095c3fb3325b13a42776322b829ef8d6f216c6 (diff)
downloadportage-7ed7d923630b26eb296fd8db5ac8690c55c4c166.tar.gz
portage-7ed7d923630b26eb296fd8db5ac8690c55c4c166.tar.bz2
portage-7ed7d923630b26eb296fd8db5ac8690c55c4c166.zip
Show the pid in the "starting parallel fetching" message.
svn path=/main/trunk/; revision=8794
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 0024f72c0..0d35875f3 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4175,7 +4175,6 @@ class MergeTask(object):
print red("!!!")+" you have it disabled, thus parallel-fetching is being disabled"
print red("!!!")
elif len(mymergelist) > 1:
- print ">>> starting parallel fetching"
fetch_log = "/var/log/emerge-fetch.log"
logfile = open(fetch_log, "w")
fd_pipes = {1:logfile.fileno(), 2:logfile.fileno()}
@@ -4204,6 +4203,8 @@ class MergeTask(object):
logfile.close() # belongs to the spawned process
del fetch_log, logfile, fd_pipes, fetch_env, fetch_args, \
resume_opts
+ print ">>> starting parallel fetching pid %d" % \
+ self._spawned_pids[-1]
metadata_keys = [k for k in portage.auxdbkeys \
if not k.startswith("UNUSED_")] + ["USE"]