commit 36ccce94db3b522b899094dedf5ddd6bb6d86c1b Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu May 31 15:43:59 2012 +0200
Handle new Downloaded line in exit lists. --- .../ernie/cron/ExoneraTorDatabaseImporter.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java b/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java index 62ad50a..c87236e 100755 --- a/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java +++ b/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java @@ -237,7 +237,8 @@ public class ExoneraTorDatabaseImporter { startToken = "router "; } else if (line.equals("network-status-version 3")) { startToken = "network-status-version 3"; - } else if (line.startsWith("ExitNode ")) { + } else if (line.startsWith("Downloaded ") || + line.startsWith("ExitNode ")) { startToken = "ExitNode "; } else { System.out.println("Unknown descriptor type in file '" + file