From: Zac Medico Date: Sun, 18 Jun 2006 00:43:28 +0000 (-0000) Subject: Overwrite the existing fetch log so that it only contains the most recent fetch. X-Git-Tag: v2.1.1~468 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc7558f83b01170c106d36e6ea5feeacfe87baf5;p=portage.git Overwrite the existing fetch log so that it only contains the most recent fetch. svn path=/main/trunk/; revision=3526 --- diff --git a/bin/emerge b/bin/emerge index cb66603fe..8cd9f3676 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1937,7 +1937,7 @@ class depgraph: sys.stderr.close() time.sleep(3) # allow the parent to have first fetch fetchlog = "/var/log/emerge-fetch.log" - sys.stdout = open(fetchlog, "a") + sys.stdout = open(fetchlog, "w") sys.stderr = sys.stdout os.dup2(sys.stdout.fileno(), 1) os.dup2(sys.stderr.fileno(), 2)