Commit a1a7d7ae authored by Adam D. Barratt's avatar Adam D. Barratt

point-release-mail: fix invocation of textwrap.wrap()

Inadvertently broken by the previous commit. Thanks Julien Cristau for
noticing.
Signed-off-by: 's avatarAdam D. Barratt <adam@adam-barratt.org.uk>
parent 5115a3d4
......@@ -111,7 +111,7 @@ def parawordwrap(environment, s, width=79, break_long_words=True, replace_whites
wrapstring=None):
if not wrapstring:
wrapstring = environment.newline_sequence
return wrapstring.join(textwrap.wrap(s, width=width, expand_tabs=False,
return wrapstring.join(wrap(s, width=width, expand_tabs=False,
replace_whitespace=replace_whitespace,
break_long_words=break_long_words))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment