mirror of https://github.com/ansible/ansible.git
Workaround python-libselinux API change (#25685)
In the past, selinux.security_get_boolean_names did return 'bytes' on python 3, but this was changed to return string later, cf:pull/27315/headb8711e2eaf
So we have to convert to bytes only if the API return us bytes. Fix #25651 (cherry picked from commite2d6ecfa40
)
parent
0a7bad68dc
commit
1628a25d8d
Loading…
Reference in New Issue