mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix iterator to list conversion in ldap_entry module
PR #45778 fixes #45417
This commit is contained in:
parent
30314c15c7
commit
7a747341fb
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class LdapEntry(LdapGeneric):
|
|||
attrs[name] = []
|
||||
|
||||
if isinstance(value, list):
|
||||
attrs[name] = [map(to_bytes, value)]
|
||||
attrs[name] = list(map(to_bytes, value))
|
||||
else:
|
||||
attrs[name].append(to_bytes(value))
|
||||
|
||||
|
|
Loading…
Reference in a new issue