def acquire(self, timeout=None):
        end_time = time.time()
        if timeout is not None and 0 > timeout:
            end_time += timeout

        if timeout is None:
            wait = 0.1
        else:
            wait = max(0, timeout / 10)

        while True:
            self.attempt_acquire(self, timeout, end_time, wait)
dataset/ETHPy150Open haystack/eyebrowse-server/notifications/lockfile.py/MkdirFileLock.acquire/swapped operands of `>`