Skip to content

Commit 2eb1743

Browse files
Remove manually set proxy settings
1 parent 2395d07 commit 2eb1743

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

blackduck/Client.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ def __init__(self, base_url, timeout, retries, verify):
5050
self.mount("http://", adapter)
5151
logger.info("Using a session with a %s second timeout and up to %s retries per request", timeout, retries)
5252

53-
self.proxies.update({
54-
'http': os.environ.get('http_proxy', ''),
55-
'https': os.environ.get('https_proxy', '')
56-
})
57-
5853
def request(self, method, url, **kwargs):
5954
kwargs['timeout'] = self._timeout
6055

@@ -74,7 +69,7 @@ def request(self, method, url, **kwargs):
7469

7570
class Client:
7671
"""A binding to Blackduck's REST API that provides a robust connection backed by a session object.
77-
A base URL, timeout, retries, proxies, and TLS verification are set upon initialization and these
72+
A base URL, timeout, retries, and TLS verification are set upon initialization and these
7873
attributes are persisted across all requests.
7974
8075
At the REST API level, it provides a consistent way to discover and traverse public resources,

0 commit comments

Comments
 (0)