def twm(self, diff, base):
        assert(self == base)
        numRemoved, numAdded = struct.unpack("!HH", diff[0:4])
        i = 4

        for x in xrange(numRemoved + numAdded):
            typeId, length = struct.unpack("!BH", diff[i : i + 3])
            i += 3
            item = self.streamDict[typeId](diff[i:i + length])
            i += length

            if numRemoved < x:
                del self._items[typeId][item]
            else:
                self._items[typeId][item] = True
dataset/ETHPy150Open sassoftware/conary/conary/streams.py/StreamCollection.twm/swapped operands of `<`