[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Use 5 "=" characters as terminator in the bw files
commit a9df1f8848c1fd4a166f404f24325c82823450e3
Author: juga0 <juga@xxxxxxxxxx>
Date: Thu Nov 8 08:52:01 2018 +0000
Use 5 "=" characters as terminator in the bw files
---
CHANGELOG.md | 4 ++++
sbws/lib/v3bwfile.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d2d651e..2295ab7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [1.0.1] - 2018-11-01
+### Fixed
+
+- Use 5 "=" characters as terminator in the bandwidth files (#28379).
+
### Changed
- Change default directories when sbws is run from a system service (#28268).
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 3665ae4..4268fb7 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -37,7 +37,7 @@ UNORDERED_KEYVALUES = EXTRA_ARG_KEYVALUES + STATS_KEYVALUES + \
['latest_bandwidth']
# List of all the KeyValues currently being used to generate the file
ALL_KEYVALUES = ['version'] + UNORDERED_KEYVALUES
-TERMINATOR = '===='
+TERMINATOR = '====='
# Num header lines in v1.1.0 using all the KeyValues
NUM_LINES_HEADER_V110 = len(ALL_KEYVALUES) + 2
LINE_TERMINATOR = TERMINATOR + LINE_SEP
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits