From 84c4792bdbf82108771d796ae317e2cb1f1d2100 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Jan 10 2023 09:11:45 +0000 Subject: pylint: disable missing-timeout message Related: https://pagure.io/freeipa/issue/9278 Signed-off-by: Florence Blanc-Renaud Reviewed-By: Stanislav Levin --- diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py index 4e8a08b..b711646 100644 --- a/ipaserver/rpcserver.py +++ b/ipaserver/rpcserver.py @@ -694,6 +694,7 @@ class KerberosSession(HTTP_Status): # generate a cookie for us. try: target = self.api.env.host + # pylint: disable-next=missing-timeout r = requests.get('http://{0}/ipa/session/cookie'.format(target), auth=NegotiateAuth(target, ccache_name), verify=paths.IPA_CA_CRT) diff --git a/ipaserver/secrets/client.py b/ipaserver/secrets/client.py index 8254e12..fd3df74 100644 --- a/ipaserver/secrets/client.py +++ b/ipaserver/secrets/client.py @@ -114,6 +114,7 @@ class CustodiaClient: headers = self._auth_header() # Perform request + # pylint: disable-next=missing-timeout r = requests.get( url, headers=headers, verify=paths.IPA_CA_CRT,