def __init__(self, vstring=None):
        match = self._deved_re.match(vstring)

        if not match:
            raise ValueError(vstring % "Invalid version number '%s'")
        else:
            dev_num_index = len(match.groups())
            if match.group(dev_num_index):
                self.dev = string.atoi(match.group(dev_num_index))
            else:
                self.dev = 0
            vstring = match.group(1)

        self.version = None

        StrictVersion.__init__(self, vstring)
dataset/ETHPy150Open n9code/pylease/pylease/vermgmt.py/DevedVersion.__init__/swapped operands of `%`