Mercurial > p > roundup > code
changeset 7820:da4c51effdfd
chore(lint): fix imports, normalize trailing , on list/tuple
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 20 Mar 2024 17:18:52 -0400 |
| parents | 0fe2b9f6e19f |
| children | aa1fd8704469 |
| files | roundup/cgi/wsgi_handler.py |
| diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/cgi/wsgi_handler.py Wed Mar 20 17:13:30 2024 -0400 +++ b/roundup/cgi/wsgi_handler.py Wed Mar 20 17:18:52 2024 -0400 @@ -5,17 +5,13 @@ # import os -import weakref - from contextlib import contextmanager +import roundup.instance +from roundup.anypy import http_ from roundup.anypy.html import html_escape - -import roundup.instance +from roundup.anypy.strings import s2b from roundup.cgi import TranslationService -from roundup.anypy import http_ -from roundup.anypy.strings import s2b - from roundup.cgi.client import BinaryFieldStorage BaseHTTPRequestHandler = http_.server.BaseHTTPRequestHandler @@ -28,7 +24,7 @@ http_.server.BaseHTTPRequestHandler.responses[429] = ( 'Too Many Requests', 'The user has sent too many requests in ' - 'a given amount of time ("rate limiting")' + 'a given amount of time ("rate limiting")', ) class Headers(object):
