def _wrap(text, width=70):
    """Return 'text' wrapped to at most 'width' characters, as
       a list of lines
    """
    import textwrap
    text = text.strip().replace('\\s+', ' ').replace('\n', ' ')
    return textwrap.wrap(text, width)
