def _wrap_lines(msg):
    lines = msg.splitlines()
    fixed_l = []
    for line in lines:
        fixed_l.append(textwrap.fill(line, 80))
    return os.linesep.join(fixed_l)
Format lines nicely to 80 chars.
dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/display/util.py/_wrap_lines