Remove extra placeholders

Change-Id: I49531fb4206092c79f3cf7e2ba05dba14e4a82e1
This commit is contained in:
yangzhe 2023-03-20 16:53:53 +08:00
parent 4ec937bf35
commit d63d4c50cd

View File

@ -136,7 +136,7 @@ def render_response(body=None, status=None, headers=None, method=None):
headers = _convert_to_str(headers) headers = _convert_to_str(headers)
resp = webob.Response(body=body, resp = webob.Response(body=body,
status='%d %s' % status, status='%s' % status,
headerlist=headers) headerlist=headers)
if method and method.upper() == 'HEAD': if method and method.upper() == 'HEAD':