def __init__(self, data):
        if self.get_size() < len(data):
            raise DDSException('Not a DDS file')
        items = struct.unpack(self.get_format(), data)
        for field, value in izip_longest(self._fields, items, fillvalue=None):
            setattr(self, field[0], value)
dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/codecs/dds.py/_filestruct.__init__/swapped operands of `<`