From d2147cc7ba5c5d5114bae61000cbf757353c3ed6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 25 Apr 2014 22:01:48 -0400 Subject: Fix hyphen handling in format_changelog --- contrib/format_changelog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/format_changelog.py b/contrib/format_changelog.py index 123005322..6997d958a 100755 --- a/contrib/format_changelog.py +++ b/contrib/format_changelog.py @@ -110,7 +110,8 @@ class ChangeLog(object): text = " ".join(re.sub(r'\s+', ' ', line.strip()) for line in par) print textwrap.fill(text, width=72, initial_indent=" "*indent1, - subsequent_indent=" "*indent2) + subsequent_indent=" "*indent2, + break_on_hyphens=False) def dump(self): print self.mainhead -- cgit v1.2.3