def return_something_after(seconds, something=True):
    start = time.time()
    end = start + seconds
    log.debug("Will return %s at %s", something, end)

    def actual():
        t = time.time()
        condition = end >= t
        log.debug("Return something at %s ? %s", t, condition)
        if condition:
            return something
        else:
            return False

    return actual
dataset/ETHPy150Open saltstack/salt/tests/utils/test_timeout.py/return_something_after/swapped operands of `>=`