1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ldap_attr bugfix (#48009)

This commit is contained in:
Seebi 2018-11-05 18:20:37 +01:00 committed by John R Barker
parent 0c95453a70
commit ee13bc248b

View file

@ -173,7 +173,7 @@ class LdapAttr(LdapGeneric):
# Normalize values
if isinstance(self.module.params['values'], list):
self.values = map(to_bytes, self.module.params['values'])
self.values = list(map(to_bytes, self.module.params['values']))
else:
self.values = [to_bytes(self.module.params['values'])]