[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [doctor/master] Turtles was being misreported as an unexpected authority



commit 707dfe91c3a8edb16888e7e8ff74a97a8a38964c
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Fri Jul 4 17:10:51 2014 -0700

    Turtles was being misreported as an unexpected authority
    
    Minor bug with how we ignore authorities. Set handling caused turtles to be
    misreported as an authority we didn't expect.
---
 consensus_health_checker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 18ea748..dd77c2a 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -474,7 +474,7 @@ def has_authority_flag(latest_consensus, consensuses, votes):
 
   known_authorities = set(directory_authorities().keys())
   missing_authorities = known_authorities.difference(seen_authorities)
-  extra_authorities = seen_authorities.difference(known_authorities - set(CONFIG['ignored_authorities']))
+  extra_authorities = seen_authorities.difference(known_authorities) - set(CONFIG['ignored_authorities'])
 
   issues = []
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits