summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2022-03-10 14:15:00 +1100
committerGitHub <noreply@github.com>2022-03-10 14:15:00 +1100
commita4e76eba3513c9d588ac46c4dbe8d235c9664510 (patch)
treef9f33a212ff1c43a201b32a2c9bcc58e85ec0925 /gitlab
parent71ebee492be5b5b1cd7c024a68c3be692d4bf91f (diff)
parent93d4403f0e46ed354cbcb133821d00642429532f (diff)
downloadgitlab-a4e76eba3513c9d588ac46c4dbe8d235c9664510.tar.gz
Merge pull request #1917 from python-gitlab/renovate/major-black
chore(deps): update black to v22 (major)
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index 9d1eebd..6737abd 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -701,7 +701,7 @@ class Gitlab:
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