mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 01:16:41 +00:00
Ignore pylint warnings for construct that does not work with Python 2.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user