[tor-commits] [doctor/master] Suspend descriptor validation for tor26 too

atagar at torproject.org atagar at torproject.org
Wed Apr 11 16:26:17 UTC 2018


commit 93c3a9b4fd464464261645e3e2bffefd7ea3a66d
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Apr 11 09:25:39 2018 -0700

    Suspend descriptor validation for tor26 too
    
    Oops, forgot about a second validation script that's spamming me.
---
 descriptor_checker.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/descriptor_checker.py b/descriptor_checker.py
index 055777b..fd7c91d 100755
--- a/descriptor_checker.py
+++ b/descriptor_checker.py
@@ -62,10 +62,10 @@ def main():
   # download the consensus from each authority
 
   for authority in stem.descriptor.remote.get_authorities().values():
-    # skip authorities that don't vote in the consensus
-
     if authority.v3ident is None:
-      continue
+      continue  # authority doesn't vote in the consensus
+    elif authority.nickname == 'tor26':
+      continue  # DirPort doesn't accept requests without a .z suffix
 
     log.debug("Downloading the consensus from %s..." % authority.nickname)
 



More information about the tor-commits mailing list