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 |