commit 7354f7c1b921a9ffadafcd29c37e2e28e485476f
Author: Tom <t...@ritter.vg>
Date:   Thu Sep 1 10:20:20 2016 -0500

    Add special bridgeauth handling for Bifroest
---
 website.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website.py b/website.py
index 574ede9..fb64cee 100755
--- a/website.py
+++ b/website.py
@@ -46,9 +46,9 @@ class WebsiteWriter:
        def set_consensuses(self, c):
                self.consensuses = c
                self.consensus = max(c.itervalues(), 
key=operator.attrgetter('valid_after'))
-               self.known_authorities = set([r.nickname for r in 
self.consensus.routers.values() if 'Authority' in r.flags and r.nickname != 
"Tonga"])
+               self.known_authorities = set([r.nickname for r in 
self.consensus.routers.values() if 'Authority' in r.flags and r.nickname != 
"Tonga" and r.nickname != "Bifroest"])
                self.known_authorities.update([r.nickname for r in 
self.consensus.directory_authorities])
-               self.known_authorities.update([r for r in 
stem.descriptor.remote.get_authorities().keys() if r != "Tonga"])
+               self.known_authorities.update([r for r in 
stem.descriptor.remote.get_authorities().keys() if r != "Tonga" and r != 
"Bifroest"])
        def set_votes(self, v):
                self.votes = v
        def set_consensus_expirey(self, timedelta):

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

Reply via email to