ansible/lib
Nick Nabb 4181717af6 Removed "encode" on color in get_job_status (#66585)
* Removed "encode" on color in get_job_status

In Python3 (tested in 3.8.1), variable.encode('utf-8') returns as a byte string versus just a string in Python2 (tested in 2.7.17). Removed encode method on return of get_job_status when color exists and wrapped in str() for good measure.

* Swap str() for to_native() per feedback
2020-01-18 17:36:27 -05:00
..
ansible Removed "encode" on color in get_job_status (#66585) 2020-01-18 17:36:27 -05:00