[tor-commits] [depictor/master] Sort flags in the big relay table #18712

tom at torproject.org tom at torproject.org
Wed Apr 6 13:59:31 UTC 2016


commit bbc61f0a16692bc66cfc0da6aa15239609a0fa39
Author: Tom Ritter <tom at ritter.vg>
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:



More information about the tor-commits mailing list