From d63d4c50cdd44405a7f7b558baaed3f19531bd93 Mon Sep 17 00:00:00 2001 From: yangzhe <17839227138@163.com> Date: Mon, 20 Mar 2023 16:53:53 +0800 Subject: [PATCH] Remove extra placeholders Change-Id: I49531fb4206092c79f3cf7e2ba05dba14e4a82e1 --- venus/api/middleware/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/venus/api/middleware/env.py b/venus/api/middleware/env.py index c6a6b4d..dd3058d 100644 --- a/venus/api/middleware/env.py +++ b/venus/api/middleware/env.py @@ -136,7 +136,7 @@ def render_response(body=None, status=None, headers=None, method=None): headers = _convert_to_str(headers) resp = webob.Response(body=body, - status='%d %s' % status, + status='%s' % status, headerlist=headers) if method and method.upper() == 'HEAD':