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

[tor-commits] [depictor/master] Output a line for bwauths without bwauth data



commit 2f91602b455805b98ba6aa6b88ea3af104e802b1
Author: Tom Ritter <tom@xxxxxxxxx>
Date:   Fri Dec 18 12:55:33 2020 -0600

    Output a line for bwauths without bwauth data
---
 website.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/website.py b/website.py
index b7b9d69..9c13d31 100755
--- a/website.py
+++ b/website.py
@@ -1182,6 +1182,11 @@ class WebsiteWriter:
 					+ "    <td>" + str(bandwidthWeights)
 					+ " Measured values in w lines</td>\n"
 					+ "  </tr>\n")
+				elif dirauth_nickname in self.bandwidth_authorities:
+					self.site.write("  <tr>\n"
+					+ "    <td>" + dirauth_nickname + "</td>\n"
+					+ "    <td class=\"oiv\">Missing bwauth values in vote</td>\n"
+					+ "  </tr>\n")
 			for dirauth_nickname in self.bandwidth_authorities:
 				if dirauth_nickname not in self.votes:
 					self.site.write("  <tr>\n"



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