mirror of https://github.com/ansible/ansible.git
Fix to_bytes(None) on Python 3
You cannot call bytes(obj) to get a simple representation of obj on Python 3! E.g. bytes(42) returns a byte string with 42 NUL characters instead of b'42'.pull/12119/head
parent
df1b41d3d3
commit
eb99aa8c68
Loading…
Reference in New Issue