Skip to content

Commit 18f9ca9

Browse files
authored
Merge pull request #228 from thmahe/master
fix deprecation warning from urllib3.util.retry
2 parents 3fa9551 + d34591c commit 18f9ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackduck/Client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, base_url, timeout, retries, verify):
4242
total=int(retries),
4343
backoff_factor=2, # exponential retry 1, 2, 4, 8, 16 sec ...
4444
status_forcelist=[429, 500, 502, 503, 504],
45-
method_whitelist=['GET']
45+
allowed_methods=['GET']
4646
)
4747

4848
adapter = HTTPAdapter(max_retries=retry_strategy)

0 commit comments

Comments
 (0)