[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [depictor/master] Sort flags in the big relay table #18712
commit bbc61f0a16692bc66cfc0da6aa15239609a0fa39
Author: Tom Ritter <tom@xxxxxxxxx>
Date: Wed Apr 6 08:58:29 2016 -0500
Sort flags in the big relay table #18712
---
website.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/website.py b/website.py
index 668f6eb..84d7d98 100755
--- a/website.py
+++ b/website.py
@@ -906,6 +906,7 @@ class WebsiteWriter:
consensusFlags = self.consensus.routers[relay_fp].flags
relevantFlags.update(consensusFlags)
+ relevantFlags = sorted(list(relevantFlags))
for dirauth_nickname in self.votes:
vote = self.votes[dirauth_nickname]
if relay_fp in vote.routers:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits