Merge ~cjwatson/launchpad:avoid-private-urllib-request-functions into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 201819ab7eb4e8e565771b8a4be4b11c31ef7a03 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:avoid-private-urllib-request-functions |
Merge into: | launchpad:master |
Diff against target: |
26 lines (+2/-5) 1 file modified
lib/lp/oci/model/ociregistryclient.py (+2/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guruprasad | Approve | ||
Review via email: mp+420297@code.launchpad.net |
Commit message
Avoid importing private urllib.request names
Description of the change
`urllib.request` defines an `__all__` list that doesn't include `parse_http_list` or `parse_keqv_list`, so we get import pedant warnings once we start importing these directly from `urllib.request` rather than via `six`. Use the equivalent (and slightly simpler to use) `requests.
To post a comment you must log in.
LGTM 👍