def run(self):
        count = 0
        while not self.finished.is_set() and (0 <= self.iterations or count < self.iterations):
            self.finished.wait(self.interval)
            if not self.finished.is_set():
                self.function(*self.args, **self.kwargs)
                count += 1
dataset/ETHPy150Open oleiade/Elevator/debian/elevator/usr/lib/python2.6/dist-packages/elevator/db.py/Ocd.run/swapped operands of `<=`