From caa1b4d69b8b154704c264d154b0579faa6b2bb3 Mon Sep 17 00:00:00 2001 From: Ashley Sommer Date: Sat, 11 Jan 2020 13:58:01 +1000 Subject: [PATCH] Fix dangling comma in arguments list for HTTPResponse in response.empty() (#1761) * Fix dangling comma arguments list for HTTPResponse in response.empty() * Found another black error, including another dangling comma --- sanic/response.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sanic/response.py b/sanic/response.py index 36481618..41650412 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -192,16 +192,14 @@ class HTTPResponse(BaseHTTPResponse): return self._cookies -def empty( - status=204, headers=None, -): +def empty(status=204, headers=None): """ Returns an empty response to the client. :param status Response code. :param headers Custom Headers. """ - return HTTPResponse(body_bytes=b"", status=status, headers=headers,) + return HTTPResponse(body_bytes=b"", status=status, headers=headers) def json(