Closed ktdreyer closed 5 years ago
In Python 3, the output from Popen is bytes, not str. This leads to a crash later on in our logger, because rstrip() does not work on bytes.
Transparently handle bytes messages in our logger by decoding them to strings.
we might want to just use the logging module if problems related to logging keep coming up. Alternatively, we could start switching to python3-only
logging
In Python 3, the output from Popen is bytes, not str. This leads to a crash later on in our logger, because rstrip() does not work on bytes.
Transparently handle bytes messages in our logger by decoding them to strings.