Skip to content
Myr

Remove unused extraction call (#7292)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nate Prewitt · committed by GitHub · parent 753fd08 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/requests/adapters.py+1 added-2 removed
47 unmodified lines
48from .models import Response49from .structures import CaseInsensitiveDict50from .utils import (51 DEFAULT_CA_BUNDLE_PATH,52 extract_zipped_paths,52 get_auth_from_url,53 get_encoding_from_headers,54 prepend_scheme_if_needed,55 select_proxy,
241 unmodified lines
297 if verify is not True:298 cert_loc = verify299300 if not cert_loc:302 cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)301 cert_loc = DEFAULT_CA_BUNDLE_PATH302303 if not cert_loc or not os.path.exists(cert_loc):304 raise OSError(305 f"Could not find a suitable TLS CA certificate bundle, "
392 unmodified lines
modified:src/requests/utils.py+1 added
57 unmodified lines
58from .structures import CaseInsensitiveDict5960NETRC_FILES = (".netrc", "_netrc")6162# Certificate is extracted by certifi when needed.63DEFAULT_CA_BUNDLE_PATH = certs.where()6465DEFAULT_PORTS = {"http": 80, "https": 443}66
1019 unmodified lines