Browse Source

Fix a bug in format_changelog, in a silly way

Nick Mathewson 9 years ago
parent
commit
993b4b8918
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/maint/format_changelog.py

+ 1 - 1
scripts/maint/format_changelog.py

@@ -59,7 +59,7 @@ def generate_wrapping(words, divisions):
         w = words[last:i]
         w = words[last:i]
         last = i
         last = i
         line = " ".join(w).replace("\xff ","-").replace("\xff","-")
         line = " ".join(w).replace("\xff ","-").replace("\xff","-")
-        lines.append(line)
+        lines.append(line.strip())
     return lines
     return lines
 
 
 def wrapping_quality(words, divisions, width1, width2):
 def wrapping_quality(words, divisions, width1, width2):