Commit 5115a3d4 authored by Adam D. Barratt's avatar Adam D. Barratt

point-release-mail: don't import a whole module for a single function

Signed-off-by: 's avatarAdam D. Barratt <>
parent de8ca317
......@@ -37,7 +37,7 @@ import codecs
import locale
import apt_pkg
from time import gmtime, strftime
from textwrap import fill
from textwrap import fill, wrap
from six import PY2
from six.moves.configparser import ConfigParser
from jinja2 import Environment
......@@ -111,7 +111,6 @@ def parawordwrap(environment, s, width=79, break_long_words=True, replace_whites
if not wrapstring:
wrapstring = environment.newline_sequence
import textwrap
return wrapstring.join(textwrap.wrap(s, width=width, expand_tabs=False,
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