def update_ballotnumber(self, seedballotnumber):
        """update the ballotnumber with a higher value than the given ballotnumber"""
        assert seedballotnumber[BALLOTEPOCH] == self.ballotnumber[BALLOTEPOCH], \
            "%s is in epoch %d instead of %d" % \
            (str(self.me), seedballotnumber[BALLOTEPOCH], self.ballotnumber[BALLOTEPOCH])
        temp = (self.ballotnumber[BALLOTEPOCH],
                seedballotnumber[BALLOTNO]+1,
                self.ballotnumber[BALLOTNODE])
        if self.debug: self.logger.write("State:", str(temp) % "Updated ballotnumber to %s")
        self.ballotnumber = temp
dataset/ETHPy150Open denizalti/concoord/concoord/replica.py/Replica.update_ballotnumber/swapped operands of `%`