def _format_comments(comments):
    ret = '. '.join(comments)
    if len(comments) > 1:
        ret += '.'
    return ret
Return a joined list
dataset/ETHPy150Open saltstack/salt/salt/states/git.py/_format_comments