def _RemoveEmptyWaitersUnlocked(self):
    for job_id in [job_id for (job_id, waiters) in self._waiters.items()
                   if not waiters]:
      del self._waiters[job_id]
Remove all jobs without actual waiters.
dataset/ETHPy150Open ganeti/ganeti/lib/jqueue/__init__.py/_JobDependencyManager._RemoveEmptyWaitersUnlocked