import textwrap


def get_comment_body(comment, indent):
    """returns formatted body of comment as [String]"""
    wrap = indent * ' ' + (78- indent) * '-' + '\n'
    indent = indent* ' '
    wrapper = textwrap.TextWrapper(initial_indent=indent + '|',
         subsequent_indent=indent + '|',width=79)
    return '\n'.join(wrapper.wrap(comment.body)+[wrap])