From: Zac Medico Date: Tue, 7 Mar 2006 19:27:37 +0000 (-0000) Subject: Make the parallel-fetch process sleep for 3 seconds at the beginning in order to... X-Git-Tag: v2.1_pre6~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6f586195be07a21b0e2ebb12c138c74281d48cb;p=portage.git Make the parallel-fetch process sleep for 3 seconds at the beginning in order to allow the parent process to have the first fetch (rather than display a 'waiting for a lock' message). Suggestion by Brian Harring. svn path=/main/trunk/; revision=2824 --- diff --git a/bin/emerge b/bin/emerge index f949491a0..7e7d1c4d4 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1890,6 +1890,7 @@ class depgraph: sys.stdin.close() sys.stdout.close() sys.stderr.close() + time.sleep(3) # allow the parent to have first fetch sys.stdout = open("/dev/null","w") sys.stderr = open("/dev/null","w") os.dup2(sys.stdout.fileno(), 1)