

def _update_engines(self, engines):
    'Update our engines dict and _ids from a dict of the form: {id:uuid}.'
    for (k, v) in engines.items():
        eid = int(k)
        self._engines[eid] = v
        self._ids.append(engines)
    self._ids = sorted(self._ids)
    if ((sorted(self._engines.keys()) != list(range(len(self._engines)))) and (self._task_scheme == 'pure') and self._task_socket):
        self._stop_scheduling_tasks()

dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/client/client.py Client._update_engines/VarMisuse@51/93 `eid`->`engines`