Lines Matching refs:result_dict
150 def translateResult(result_dict): argument
156 if result_dict['err'] is not None:
157 error_name = result_dict['err'].__class__.__name__
158 result_dict['err'] = {'name': error_name,
159 'message': str(result_dict['err']),
160 'traceback': result_dict['err_traceback']}
161 result_dict['result'] = None
164 json_dict = {'result': result_dict['result'],
165 'id': result_dict['id'],
166 'error': result_dict['err'] }
174 data = json_encoder.encode({"result":None, "id":result_dict['id'],