1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-31 01:49:00 +01:00
Files
github.com_openSUSE_osc/osc
Marcus Huewe 8566d64ffd Fix and simplify util.safewriter.SafeWriter
Storing the error encoding in an "encoding" attribute "breaks" the
python3 "input" function: In essence, builtin_input_impl does a
getattr(sys.stdout, 'encoding'), which returns our error encoding
instead of the "real" stdout encoding. In order to avoid this, we
store the error encoding in an "_encoding" attribute.

Making SafeWriter a new-style class simplifies the code a lot.
2018-03-12 16:22:16 +01:00
..
2018-02-27 10:37:16 +01:00
2009-12-03 19:19:53 +01:00
2014-08-12 15:01:16 +02:00
2018-03-08 14:33:50 +01:00
2018-03-12 11:54:10 +01:00
2018-03-09 14:41:36 +01:00
2018-02-27 10:37:16 +01:00
2018-02-27 10:37:16 +01:00
2018-03-12 16:19:32 +01:00