def load_label(self):
        label = self.iso_file.read(LABEL_LEN)
        if len(label) == 0:
            raise StopIteration
        elif len(label) != 24:
            raise ValueError(label % 'Invalid record label: "%s"')
        parts = unpack(LABEL_FORMAT, label)
        for name, part in zip(self.label_part_names, parts):
            if name.endswith('_len') or name.endswith('_addr'):
                part = int(part)
            setattr(self, name, part)
dataset/ETHPy150Open fluentpython/example-code/14-it-generator/isis2json/iso2709.py/IsoRecord.load_label/swapped operands of `%`