[tor-commits] [doctor/master] Fix DIRAUTH_SKIP_CHECKS constants

atagar at torproject.org atagar at torproject.org
Mon Dec 30 01:01:34 UTC 2019


commit bdf926c75fe01e34cf97384f15cf1b1c4097279c
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Dec 29 16:54:04 2019 -0800

    Fix DIRAUTH_SKIP_CHECKS constants
    
    Good catch from starlight on ticket #32842 that these require a comma so the
    constants are tuples rather than strings.
---
 consensus_health_checker.py | 2 +-
 descriptor_checker.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 0e213a3..e56338f 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -28,7 +28,7 @@ Runlevel = stem.util.enum.UppercaseEnum('NOTICE', 'WARNING', 'ERROR')
 DIRECTORY_AUTHORITIES = stem.directory.Authority.from_cache()
 
 DIRAUTH_SKIP_CHECKS = (
-  'tor26'   # tor26 DirPort does not service requests without a .z suffix
+  'tor26',   # tor26 DirPort does not service requests without a .z suffix
 )
 
 EMAIL_SUBJECT = 'Consensus issues'
diff --git a/descriptor_checker.py b/descriptor_checker.py
index a0f5db3..21854ab 100755
--- a/descriptor_checker.py
+++ b/descriptor_checker.py
@@ -30,7 +30,7 @@ error: %s
 """
 
 DIRAUTH_SKIP_CHECKS = (
-  'tor26'   # tor26 DirPort does not service requests without a .z suffix
+  'tor26',   # tor26 DirPort does not service requests without a .z suffix
 )
 
 log = util.get_logger('descriptor_checker')



More information about the tor-commits mailing list