def job_finish(self, params):
        queue = QueueCache.get(params['destination'], params['queue'],
                               params.get('setup_runtime') or None,
                               params.get('need_runtime') or None)
        with ServerLogger.hide_output():
            status, target, arg = queue.status(params['job_id'])
        assert status == tej.RemoteQueue.JOB_DONE
        params['exitcode'] = int(arg)
        return params
Simplifies the node removing singleton conjunctions and others.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/tej/init.py/BaseSubmitJob.job_finish--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/prospective_search/prospective_search_stub.py/ProspectiveSearchStub._SimplifyNode