瀏覽代碼

Fix a bug in format_changelog, in a silly way

Nick Mathewson 9 年之前
父節點
當前提交
993b4b8918
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]
         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):