mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
caaefb0bf5
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. |
||
---|---|---|
.. | ||
__init__.py | ||
ar.py | ||
archquery.py | ||
cpio.py | ||
debquery.py | ||
packagequery.py | ||
repodata.py | ||
rpmquery.py | ||
safewriter.py |