view roundup/anypy/http_.py @ 7781:2a6c3eb4e059

chore: lint script
author John Rouillard <rouilj@ieee.org>
date Mon, 04 Mar 2024 21:23:40 -0500
parents ce04a489312e
children 9d2ad7386627
line wrap: on
line source

try:
    # Python 3+
    from http import client, server
except (ImportError, AttributeError):
    # Python 2.5-2.7
    import BaseHTTPServer as server  # noqa: F401
    import httplib as client  # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/