Mercurial > p > roundup > code
comparison roundup/anypy/http_.py @ 7228:07ce4e4110f5
flake8 fixes: whitespace, remove unused imports
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 Mar 2023 14:16:31 -0400 |
| parents | 485a575616bc |
| children | ce04a489312e |
comparison
equal
deleted
inserted
replaced
| 7227:1e004afe87bb | 7228:07ce4e4110f5 |
|---|---|
| 2 # Python 3+ | 2 # Python 3+ |
| 3 from http import client, server | 3 from http import client, server |
| 4 server.DEFAULT_ERROR_MESSAGE | 4 server.DEFAULT_ERROR_MESSAGE |
| 5 except (ImportError, AttributeError): | 5 except (ImportError, AttributeError): |
| 6 # Python 2.5-2.7 | 6 # Python 2.5-2.7 |
| 7 import httplib as client | 7 import httplib as client # noqa: F401 |
| 8 import BaseHTTPServer as server | 8 import BaseHTTPServer as server # noqa: F401 |
