mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
2b97c8caad
commit
84c4792bdb
@ -694,6 +694,7 @@ class KerberosSession(HTTP_Status):
|
|||||||
# generate a cookie for us.
|
# generate a cookie for us.
|
||||||
try:
|
try:
|
||||||
target = self.api.env.host
|
target = self.api.env.host
|
||||||
|
# pylint: disable-next=missing-timeout
|
||||||
r = requests.get('http://{0}/ipa/session/cookie'.format(target),
|
r = requests.get('http://{0}/ipa/session/cookie'.format(target),
|
||||||
auth=NegotiateAuth(target, ccache_name),
|
auth=NegotiateAuth(target, ccache_name),
|
||||||
verify=paths.IPA_CA_CRT)
|
verify=paths.IPA_CA_CRT)
|
||||||
|
@ -114,6 +114,7 @@ class CustodiaClient:
|
|||||||
headers = self._auth_header()
|
headers = self._auth_header()
|
||||||
|
|
||||||
# Perform request
|
# Perform request
|
||||||
|
# pylint: disable-next=missing-timeout
|
||||||
r = requests.get(
|
r = requests.get(
|
||||||
url, headers=headers,
|
url, headers=headers,
|
||||||
verify=paths.IPA_CA_CRT,
|
verify=paths.IPA_CA_CRT,
|
||||||
|
Loading…
Reference in New Issue
Block a user