def _read_field_headers(self, infile):
        while True:
            sep = infile.read(1)
            if (b'\r', b'\n', b'') in sep:
                # End of field headers
                break

            field = DBFField.unpack(sep + infile.read(DBFField.size - 1))

            field.type = chr(ord(field.type))

            # Field name is b'\0' terminated.
            field.name = field.name.split(b'\0')[0].decode(self.encoding)
            if self.lowernames:
                field.name = field.name.lower()

            self.field_names.append(field.name)

            self.fields.append(field)
dataset/ETHPy150Open olemb/dbfread/dbfread/dbf.py/DBF._read_field_headers/swapped operands of `in`