

def _unwrap_exception(self, content):
    'unwrap exception, and remap engine_id to int.'
    e = error.unwrap_exception(content)
    if e.engine_info:
        e_uuid = e.engine_info['engine_uuid']
        eid = self._engines[e_uuid]
        e.engine_info['engine_id'] = eid
    return e

dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/client/client.py Client._unwrap_exception/original