Skip to content

Commit

Permalink
Check no_proxy_match type, remove duplicate init (#14306)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Jul 16, 2023
1 parent fb508df commit a33b856
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conans/client/rest/conan_requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ def __init__(self, config, cache_folder=None):

self._url_creds = URLCredentials(cache_folder)
self._timeout = config.get("core.net.http:timeout", default=DEFAULT_TIMEOUT)
self._no_proxy_match = config.get("core.net.http:no_proxy_match")
self._no_proxy_match = config.get("core.net.http:no_proxy_match", check_type=list)
self._proxies = config.get("core.net.http:proxies")
self._cacert_path = config.get("core.net.http:cacert_path")
self._cacert_path = config.get("core.net.http:cacert_path", check_type=str)
self._client_certificates = config.get("core.net.http:client_cert")
self._no_proxy_match = config.get("core.net.http:no_proxy_match")
self._clean_system_proxy = config.get("core.net.http:clean_system_proxy", default=False,
check_type=bool)

Expand Down

0 comments on commit a33b856

Please sign in to comment.