Commit Graph

1 Commits

Author SHA1 Message Date
Jon Dufresne cd9a0dd26d Simplify str_to_display() and its uses
With Python 2 dropped, only bytes need to be handled. Passing str was a
nop. These bytes/str boundaries are much clearer now.

There remains one use of str_to_display(): constole_to_str(). It
converts subprocess bytes output to str while handling decoding errors.
2021-02-20 06:02:26 -08:00