mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
41d6f5c635
foo.split('\n') is picky about the type of 'foo'. if 'foo' is a bytes type, then foo.split('\n') will fail on py3 with: TypeError: a bytes-like object is required, not 'str' The foo.split('\n') change isn't strictly required when run_command returns native str types, but it is more idiomatic and conceptually also supports other line endings. |
||
---|---|---|
.. | ||
ansible |