def wrap_lines(content, length=80):
    """Wraps long lines to a maximum length of 80.

    :param content: the content to wrap.
    :param legnth: the maximum length to wrap the content.

    :type content: str
    :type length: int

    :returns: a string containing the wrapped content.
    :rtype: str

    """
    return "\n".join(textwrap.wrap(content, length, break_long_words=False))