[tor-commits] [tor/master] Fix a bug in format_changelog, in a silly way

nickm at torproject.org nickm at torproject.org
Tue May 5 22:24:23 UTC 2015


commit 993b4b89183492c4cec916ee8ed514394c088dff
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue May 5 18:23:56 2015 -0400

    Fix a bug in format_changelog, in a silly way
---
 scripts/maint/format_changelog.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/maint/format_changelog.py b/scripts/maint/format_changelog.py
index d1b4a3d..a557fca 100755
--- a/scripts/maint/format_changelog.py
+++ b/scripts/maint/format_changelog.py
@@ -59,7 +59,7 @@ def generate_wrapping(words, divisions):
         w = words[last:i]
         last = i
         line = " ".join(w).replace("\xff ","-").replace("\xff","-")
-        lines.append(line)
+        lines.append(line.strip())
     return lines
 
 def wrapping_quality(words, divisions, width1, width2):





More information about the tor-commits mailing list