Internal helper to sanitize message output

def _clean_message(message):
    '''Internal helper to sanitize message output'''
    message = message.replace('zonecfg: ', '')
    message = message.splitlines()
    for line in message:
        if line.startswith('On line'):
            message.remove(line)
    return "\n".join(message)