def taskwakeup(self, task):
        if task is None:
            return

        # the scheduler need to be locked here
        with self._lock:
            try:
                self.runnable.remove(task)
            except __HOLE__:
                pass

        # eventually unblock the tasj
        self.unblock(task)
dataset/ETHPy150Open benoitc/flower/flower/core/sched.py/Scheduler.taskwakeup