From: Nick Mathewson Date: Sat, 26 Apr 2014 02:01:48 +0000 (-0400) Subject: Fix hyphen handling in format_changelog X-Git-Tag: tor-0.2.5.4-alpha^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2147cc7ba5c5d5114bae61000cbf757353c3ed6;p=thirdparty%2Ftor.git Fix hyphen handling in format_changelog --- diff --git a/ChangeLog b/ChangeLog index e4387e14a7..8559b7149a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -77,9 +77,9 @@ Changes in version 0.2.5.4-alpha - 2014-04-25 FreeBSD. To enable it, set "TransProxyType ipfw". Resolves ticket 10267; patch from "yurivict". - Support OpenBSD's divert-to rules with the pf firewall for - transparent proxy ports. To enable it, set "TransProxyType pf- - divert". This allows Tor to run a TransPort transparent proxy port - on OpenBSD 4.4 or later without root privileges. See the + transparent proxy ports. To enable it, set "TransProxyType + pf-divert". This allows Tor to run a TransPort transparent proxy + port on OpenBSD 4.4 or later without root privileges. See the pf.conf(5) manual page for information on configuring pf to use divert-to rules. Closes ticket 10896; patch from Dana Koch. @@ -187,9 +187,9 @@ Changes in version 0.2.5.4-alpha - 2014-04-25 CPPFLAGS. Fixes bug 11296; bugfix on 0.2.5.3-alpha. o Minor bugfixes (bridges): - - Avoid potential crashes or bad behavior when launching a server- - side managed proxy with ORPort or ExtORPort temporarily disabled. - Fixes bug 9650; bugfix on 0.2.3.16-alpha. + - Avoid potential crashes or bad behavior when launching a + server-side managed proxy with ORPort or ExtORPort temporarily + disabled. Fixes bug 9650; bugfix on 0.2.3.16-alpha. o Minor bugfixes (platform-specific): - Fix compilation on Solaris, which does not have . Fixes diff --git a/contrib/format_changelog.py b/contrib/format_changelog.py index 1230053226..6997d958a6 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