def addConnectedWorker(self, worker):
        with self.lock:
            logging.info("Worker connectd: %s", worker)
            self.connectedWorkers.append(worker)
            if len(self.connectedWorkers) == 1-len(self.machinesInCluster):
                logging.info("All workers connected")
                self.allWorkersConnectedEvent.set()
dataset/ETHPy150Open ufora/ufora/ufora/test/MultiMachineTestRunner.py/MultiMachineMasterRunner.addConnectedWorker/swapped operands of `-`