aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-25 22:01:48 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-25 22:01:48 -0400
commitd2147cc7ba5c5d5114bae61000cbf757353c3ed6 (patch)
tree232acb825819feaaf86ac3640c4ff070655ef98c /contrib
parent03ce73327ce07499df563919764ea020f880da6b (diff)
downloadtor-d2147cc7ba5c5d5114bae61000cbf757353c3ed6.tar
tor-d2147cc7ba5c5d5114bae61000cbf757353c3ed6.tar.gz
Fix hyphen handling in format_changelog
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/format_changelog.py3
1 files changed, 2 insertions, 1 deletions
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