]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a bug in format_changelog, in a silly way
authorNick Mathewson <nickm@torproject.org>
Tue, 5 May 2015 22:23:56 +0000 (18:23 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 May 2015 22:23:56 +0000 (18:23 -0400)
scripts/maint/format_changelog.py

index d1b4a3dff3fc00285fe05854a3314ec44786c393..a557fcaf407cea7b4a62e5feef94988554c7a45f 100755 (executable)
@@ -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):