summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-04-04 23:34:11 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2022-04-04 23:34:11 +0200
commit5cbbf26e6f6f3ce4e59cba735050e3b7f9328388 (patch)
tree26587dd7ab054506fcc06a1a6ec94a2914d8a541
parentc3ef1b5c1eaf1348a18d753dbf7bda3c129e3262 (diff)
downloadgitlab-5cbbf26e6f6f3ce4e59cba735050e3b7f9328388.tar.gz
chore(client): remove duplicate code
-rw-r--r--gitlab/client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gitlab/client.py b/gitlab/client.py
index c6e9b96..c6ac0d1 100644
--- a/gitlab/client.py
+++ b/gitlab/client.py
@@ -710,9 +710,6 @@ class Gitlab:
if 200 <= result.status_code < 300:
return result
- retry_transient_errors = kwargs.get(
- "retry_transient_errors", self.retry_transient_errors
- )
if (429 == result.status_code and obey_rate_limit) or (
result.status_code in RETRYABLE_TRANSIENT_ERROR_CODES
and retry_transient_errors