summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-18 00:43:28 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-18 00:43:28 +0000
commitdc7558f83b01170c106d36e6ea5feeacfe87baf5 (patch)
tree2e406f45d0db5fcaf9f447730670f7c538cad9ae
parent38375d35ae71d68e9bff8945a242c2380de0098b (diff)
downloadportage-dc7558f83b01170c106d36e6ea5feeacfe87baf5.tar.gz
portage-dc7558f83b01170c106d36e6ea5feeacfe87baf5.tar.bz2
portage-dc7558f83b01170c106d36e6ea5feeacfe87baf5.zip
Overwrite the existing fetch log so that it only contains the most recent fetch.
svn path=/main/trunk/; revision=3526
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
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)