def parse_errata_checksum(data):
    """ Parse the errata checksum and return the bz2 checksum
    """
    for line in data.splitlines():
        if line.endswith('errata.latest.xml.bz2'):
            return line.split()[0]