do not set status code

This commit is contained in:
j 2010-12-23 00:55:57 +05:30
parent 060e4a666f
commit 7f250988c0

View file

@ -20,6 +20,5 @@ def task_status(request, task_id):
response['data'].update({'result': str(res.args[0]), response['data'].update({'result': str(res.args[0]),
'exc': get_full_cls_name(res.__class__), 'exc': get_full_cls_name(res.__class__),
'traceback': traceback}) 'traceback': traceback})
response['status'] = 500
return response return response