def manage_workers(self):
        """\
        Maintain the number of workers by spawning or killing
        as required.
        """
        if len(self.WORKERS.keys()) < self.num_workers:
            self.spawn_workers()

        num_to_kill = len(self.WORKERS) - self.num_workers
        for i in range(num_to_kill, 0, -1):
            pid, age = 0, sys.maxint
            for (wpid, worker) in self.WORKERS.iteritems():
                if age < worker.age:
                    pid, age = wpid, worker.age
            self.kill_worker(pid, signal.SIGQUIT)
dataset/ETHPy150Open benoitc/tproxy/tproxy/arbiter.py/Arbiter.manage_workers/swapped operands of `<`