From 080ffc1655bea271ed037081bf9cc18a30c71e42 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Wed, 1 Feb 2023 09:45:12 +0100 Subject: [PATCH] connection: Mute the "Converted retries value" debug message --- osc/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/connection.py b/osc/connection.py index b6883b05..65421e74 100644 --- a/osc/connection.py +++ b/osc/connection.py @@ -217,7 +217,7 @@ def http_request(method: str, url: str, headers=None, data=None, file=None): pool = CONNECTION_POOLS.get(apiurl, None) if not pool: pool_kwargs = {} - pool_kwargs["retries"] = int(conf.config["http_retries"]) + pool_kwargs["retries"] = urllib3.Retry(total=int(conf.config["http_retries"])) if purl.scheme == "https": ssl_context = oscssl.create_ssl_context()