diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2020-05-06 23:10:24 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2020-11-28 12:19:54 -0800 |
| commit | d6d46e6e908d56d4864c6ae8cb9690817f4df007 (patch) | |
| tree | 87065566268aeabc5f9c6356e46f952bd0f386b4 /src/webob | |
| parent | b0f6d7d359f9ac5f2f73b9fd2067fd44493ce5ff (diff) | |
| download | webob-d6d46e6e908d56d4864c6ae8cb9690817f4df007.tar.gz | |
Use bare super()
Diffstat (limited to 'src/webob')
| -rw-r--r-- | src/webob/exc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webob/exc.py b/src/webob/exc.py index 826ce05..f4745e7 100644 --- a/src/webob/exc.py +++ b/src/webob/exc.py @@ -561,7 +561,7 @@ ${html_comment}""" location=None, add_slash=False, ): - super(_HTTPMove, self).__init__( + super().__init__( detail=detail, headers=headers, comment=comment, body_template=body_template ) @@ -590,7 +590,7 @@ ${html_comment}""" self.location = url self.location = urlparse.urljoin(req.path_url, self.location) - return super(_HTTPMove, self).__call__(environ, start_response) + return super().__call__(environ, start_response) class HTTPMultipleChoices(_HTTPMove): |
