[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/maint-1.1] fix: v3bwfile: Reformat to don't get flake8 errors
commit a287ad4bf5560180ceaf222d27fd38ff46b1ab07
Author: juga0 <juga@xxxxxxxxxx>
Date: Mon Feb 24 14:54:30 2020 +0000
fix: v3bwfile: Reformat to don't get flake8 errors
Part of #30196
---
sbws/lib/v3bwfile.py | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 9d3d623..01ec2c0 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -163,10 +163,19 @@ LINE_TERMINATOR = TERMINATOR + LINE_SEP
BWLINE_KEYVALUES_SEP_V1 = ' '
# not inclding in the files the extra bws for now
BWLINE_KEYS_V0 = ['node_id', 'bw']
-BWLINE_KEYS_V1_1 = ['master_key_ed25519', 'nick', 'rtt', 'time',
- 'success', 'error_stream', 'error_circ', 'error_misc',
- # Added in #292951
- 'error_second_relay', 'error_destination']
+BWLINE_KEYS_V1_1 = [
+ "master_key_ed25519",
+ "nick",
+ "rtt",
+ "time",
+ "success",
+ "error_stream",
+ "error_circ",
+ "error_misc",
+ # Added in #292951
+ "error_second_relay",
+ "error_destination",
+]
BWLINE_KEYS_V1_2 = [
"bw_median",
"bw_mean",
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits