[or-cvs] [ernie/master] Don't write headers to a file that we cannot parse.

karsten at torproject.org karsten at torproject.org
Wed Feb 24 17:24:12 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 24 Feb 2010 18:23:32 +0100
Subject: Don't write headers to a file that we cannot parse.
Commit: c02dd3f79d5c73371a824ce5e182f044925f1c7c

---
 src/ArchiveWriter.java |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/ArchiveWriter.java b/src/ArchiveWriter.java
index 73c8030..996db2e 100644
--- a/src/ArchiveWriter.java
+++ b/src/ArchiveWriter.java
@@ -433,7 +433,6 @@ public class ArchiveWriter {
         new File(this.statsDir).mkdirs();
         BufferedWriter bw = new BufferedWriter(new FileWriter(
             this.archiveWriterParseHistory));
-        bw.write("type,source,published\n");
         for (String line : this.missingDescriptors) {
           bw.write(line + "\n");
         }
-- 
1.6.5



More information about the tor-commits mailing list