mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix exception escape warning
W1661(exception-escape), RPCClient.forward] Using an exception object that was bound by an except handler) Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
49f909c9d3
commit
24cc13db89
@@ -1567,9 +1567,9 @@ class LDAPClient:
|
||||
str(base_dn), scope, filter, attrs_list,
|
||||
serverctrls=sctrls, timeout=time_limit,
|
||||
sizelimit=size_limit)
|
||||
except ldap.LDAPError as e:
|
||||
except ldap.LDAPError as e2:
|
||||
logger.warning(
|
||||
"Error cancelling paged search: %s", e)
|
||||
"Error cancelling paged search: %s", e2)
|
||||
cookie = ''
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user