From 7ccbd04656ca09617fb6b422365e0f35babd62ad Mon Sep 17 00:00:00 2001 From: Ondřej Nosek Date: Dec 11 2025 16:35:50 +0000 Subject: Submitting the module build - duplicate timeout The change was suggested by a static code checker, but it caused duplicate timeout argument that was passed in kwargs. Fixes: #766 JIRA: RHELCMP-15058 Signed-off-by: Ondřej Nosek --- diff --git a/pyrpkg/__init__.py b/pyrpkg/__init__.py index 8df338c..6f4d63b 100644 --- a/pyrpkg/__init__.py +++ b/pyrpkg/__init__.py @@ -4199,7 +4199,7 @@ class Commands(object): data = body auth = requests_gssapi.HTTPSPNEGOAuth( mutual_authentication=requests_gssapi.OPTIONAL) - resp = requests.request(verb, url, data=data, auth=auth, timeout=1800, **kwargs) + resp = requests.request(verb, url, data=data, auth=auth, **kwargs) # noqa: S113 if resp.status_code == 401: raise rpkgError('MBS authentication using Kerberos failed. ' 'Make sure you have a valid Kerberos ticket.')