Skip to content

Commit

Permalink
style: reformat for black v22
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed Mar 10, 2022
1 parent 3f84f1b commit 93d4403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/client.py
Expand Up @@ -701,7 +701,7 @@ def http_request(
result.status_code in [500, 502, 503, 504] and retry_transient_errors
):
if max_retries == -1 or cur_retries < max_retries:
wait_time = 2 ** cur_retries * 0.1
wait_time = 2**cur_retries * 0.1
if "Retry-After" in result.headers:
wait_time = int(result.headers["Retry-After"])
cur_retries += 1
Expand Down

0 comments on commit 93d4403

Please sign in to comment.