From dc7558f83b01170c106d36e6ea5feeacfe87baf5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 18 Jun 2006 00:43:28 +0000 Subject: [PATCH] Overwrite the existing fetch log so that it only contains the most recent fetch. svn path=/main/trunk/; revision=3526 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2