mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
[api] remove print
This commit is contained in:
@@ -78,7 +78,6 @@ HTTP_ERRORS = {
|
|||||||
|
|
||||||
def api_error(request, code='499', msg=None):
|
def api_error(request, code='499', msg=None):
|
||||||
err_resp = { 'error_msg': msg if msg is not None else HTTP_ERRORS[code] }
|
err_resp = { 'error_msg': msg if msg is not None else HTTP_ERRORS[code] }
|
||||||
print "===============,", code, err_resp
|
|
||||||
return HttpResponse(json.dumps(err_resp), status=code,
|
return HttpResponse(json.dumps(err_resp), status=code,
|
||||||
content_type=json_content_type)
|
content_type=json_content_type)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user