1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-04 18:46:17 +01:00

Merge branch 'fix_decoding_in_osc_cat' of https://github.com/lethliel/osc

Do not perform any decoding in do_cat.
This commit is contained in:
Marcus Huewe 2019-09-18 16:36:00 +02:00
commit 5756e90b90

View File

@ -8426,7 +8426,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if isinstance(data, str):
sys.stdout.write(data)
else:
sys.stdout.write(decode_it(data))
sys.stdout.buffer.write(data)
# helper function to download a file from a specific revision