Ignore pylint warnings for construct that does not work with Python 2.

This commit is contained in:
Felix Fontein
2024-03-23 10:43:49 +01:00
parent da048aa12e
commit 51d559cc94
2 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ def ldap_search(filter, base=None, attr=None):
break
else:
if result_type is ldap_module().RES_SEARCH_ENTRY:
for res in result_data:
for res in result_data: # pylint: disable=use-yield-from
yield res
uldap().lo.lo.abandon(msgid)