def _increase_version(self, count=1, index=0):
        """
        Increase the index'th level of the version by count
        """
        old_version = self.version

        old_comp = old_version[index]
        new_comp = old_comp + count

        new_version = []

        for i, _ in enumerate(old_version):
            if i == index:
                new_version.append(new_comp)
            elif index > i:
                new_version.append(0)
            else:
                new_version.append(old_version[i])

        self.dev = 0
        self.version = tuple(new_version)
dataset/ETHPy150Open n9code/pylease/pylease/vermgmt.py/DevedVersion._increase_version/swapped operands of `>`