[tor-commits] [metrics-tasks/master] Oops, looks like the Java file does care about filenames.
karsten at torproject.org
karsten at torproject.org
Wed Nov 9 07:12:59 UTC 2011
commit b372261323a670af7b72845b98c94fbf9bd7877a
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed Nov 9 08:12:31 2011 +0100
Oops, looks like the Java file does care about filenames.
---
task-2394/ParseDescriptors.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/task-2394/ParseDescriptors.java b/task-2394/ParseDescriptors.java
index 641518d..7ddab73 100644
--- a/task-2394/ParseDescriptors.java
+++ b/task-2394/ParseDescriptors.java
@@ -21,7 +21,7 @@ public class ParseDescriptors {
consensuses.put(filename, file);
} else if (filename.endsWith("-votes")) {
votes.put(filename, file);
- } else if (filename.endsWith("-descriptors")) {
+ } else if (filename.endsWith("-serverdesc")) {
descriptors.put(filename, file);
}
}
@@ -90,7 +90,7 @@ public class ParseDescriptors {
/* Parse referenced server descriptors to learn about exit policies
* and reported bandwidths. */
- String descriptorsFilename = consensusTimestamp + "-descriptors";
+ String descriptorsFilename = consensusTimestamp + "-serverdesc";
Map<String, String> parsedDescriptors =
new HashMap<String, String>();
if (descriptors.containsKey(descriptorsFilename)) {
More information about the tor-commits
mailing list