[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [depictor/master] Note some TODOs
commit 2739306ffd41feb0a273a4fc76d6b5b65a7cb7b6
Author: Tom Ritter <tom@xxxxxxxxx>
Date: Mon Dec 8 07:42:34 2014 -0600
Note some TODOs
---
website.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/website.py b/website.py
index 7b88fb8..78fbd2a 100755
--- a/website.py
+++ b/website.py
@@ -43,6 +43,7 @@ class WebsiteWriter:
def set_consensuses(self, c):
self.consensuses = c
self.consensus = max(c.itervalues(), key=operator.attrgetter('valid_after'))
+ # XXX - Change this to be a list of known dir auths, don't calculate it off the consensus because sometimes they're missing entirely
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.update([r.nickname for r in self.consensus.directory_authorities])
def set_votes(self, v):
@@ -911,7 +912,7 @@ class WebsiteWriter:
Write the footer of the HTML page containing the blurb that is on
every page of the metrics website.
"""
- #XXX Write the git version and steam version the page was generated with
+ #XXX Write the git version and stem version the page was generated with
self.site.write("</div>\n"
+ "</div>\n"
+ "<div class=\"bottom\" id=\"bottom\">\n"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits