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

tom at torproject.org tom at torproject.org
Fri Dec 18 18:56:13 UTC 2020


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





More information about the tor-commits mailing list