[tor-commits] [doctor/master] Ignore turtles in the descriptor checker
atagar at torproject.org
atagar at torproject.org
Mon Sep 29 16:10:19 UTC 2014
commit 8e243889f8b3556e82aab6f7ae7e5a6d17fbcc69
Author: Damian Johnson <atagar at torproject.org>
Date: Mon Sep 29 08:56:47 2014 -0700
Ignore turtles in the descriptor checker
DocTor ignores turtles because it's unmaintained. I didn't do the same in the
descriptor checker because it only emails me, but I've received over fifty
emails about turtles being borked. Time to cut down on the noise.
Filed a ticket to track the actual issue...
https://trac.torproject.org/projects/tor/ticket/13296
---
descriptor_checker.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/descriptor_checker.py b/descriptor_checker.py
index 55e8236..6cd5328 100755
--- a/descriptor_checker.py
+++ b/descriptor_checker.py
@@ -60,9 +60,15 @@ def main():
for authority in stem.descriptor.remote.get_authorities().values():
# skip authorities that don't vote in the consensus
+
if authority.v3ident is None:
continue
+ # skip turtles, it's unmaintained
+
+ if authority.nickname == 'turtles':
+ continue
+
log.debug("Downloading the consensus from %s..." % authority.nickname)
query = stem.descriptor.remote.Query(
More information about the tor-commits
mailing list