Lines Matching refs:result_dict
157 def translateResult(result_dict): argument
163 if result_dict['err'] is not None:
164 error_name = result_dict['err'].__class__.__name__
165 result_dict['err'] = {'name': error_name,
166 'message': str(result_dict['err']),
167 'traceback': result_dict['err_traceback']}
168 result_dict['result'] = None
171 json_dict = {'result': result_dict['result'],
172 'id': result_dict['id'],
173 'error': result_dict['err'] }
181 data = json_encoder.encode({"result":None, "id":result_dict['id'],