1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-29 11:16:14 +01:00
github.com_openSUSE_osc/osc/util
Marcus Huewe caaefb0bf5 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-09 16:55:56 +01:00
..
__init__.py - don't fail if terminal encoding doesn't support unicode (fixes #660445) 2011-02-11 02:45:13 +01:00
ar.py - util.ar: do not import StringIO from the cStringIO module 2013-04-22 09:24:48 +02:00
archquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
cpio.py Resolve PEP8 issue E231 2014-08-13 17:30:12 +02:00
debquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
packagequery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
repodata.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
rpmquery.py Add support for querying weak dependencies 2017-12-26 23:14:47 +01:00
safewriter.py Fix and simplify util.safewriter.SafeWriter 2018-03-09 16:55:56 +01:00