pylint: disable missing-timeout message

Related: https://pagure.io/freeipa/issue/9278

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Florence Blanc-Renaud 2022-11-21 16:38:42 +01:00
parent 2b97c8caad
commit 84c4792bdb
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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,