'Removes the BECOME-SUCCESS message from the data.'

def _strip_success_message(self, data):

    if data.strip().startswith('BECOME-SUCCESS-'):
        data = re.sub('^((\\r)?\\n)?BECOME-SUCCESS.*(\\r)?\\n', '', data)
    return data
