diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-01 21:41:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-01 21:41:27 +0000 |
commit | fe044b4c170d1a7163084fba46e2481a22c28f3c (patch) | |
tree | ef1abb1a23da3fb5c656b34d2cdbe03fca1ba0ad /bin | |
parent | 9b8c9ad276e6578dd1deefd3599aadd1d097e700 (diff) | |
download | portage-fe044b4c170d1a7163084fba46e2481a22c28f3c.tar.gz portage-fe044b4c170d1a7163084fba46e2481a22c28f3c.tar.bz2 portage-fe044b4c170d1a7163084fba46e2481a22c28f3c.zip |
Show the pid in the "starting parallel fetching" message. (trunk r8794)
svn path=/main/branches/2.1.2/; revision=8795
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 03dc11dd5..8237d7de7 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3762,7 +3762,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()} @@ -3791,6 +3790,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"] |