Skip to content

Commit d34591c

Browse files
authored
fix deprecation warning from urllib3.util.retry
1 parent 3fa9551 commit d34591c

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)