Mercurial > p > roundup > code
diff roundup/anypy/http_.py @ 7753:ce04a489312e
chore(lint): clean up ruff errors
sort imports, remove unused statement
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 01 Mar 2024 15:08:42 -0500 |
| parents | 07ce4e4110f5 |
| children | 9d2ad7386627 |
line wrap: on
line diff
--- a/roundup/anypy/http_.py Fri Mar 01 14:53:18 2024 -0500 +++ b/roundup/anypy/http_.py Fri Mar 01 15:08:42 2024 -0500 @@ -1,8 +1,7 @@ try: # Python 3+ from http import client, server - server.DEFAULT_ERROR_MESSAGE except (ImportError, AttributeError): # Python 2.5-2.7 - import httplib as client # noqa: F401 - import BaseHTTPServer as server # noqa: F401 + import BaseHTTPServer as server # noqa: F401 + import httplib as client # noqa: F401
