in pci_vpd_lib/pci_vpd_lib.py [0:0]
def _combine_checksum(self, a, buf): for x in buf: a = (a + x) & 0xFF return a