1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 07:06:13 +01:00

[python3] release command: fix exception on missing bytearray/str decode

This commit is contained in:
Dirk Mueller 2019-04-25 22:27:53 +02:00
parent a3de1bdad1
commit 3886b95ae4

View File

@ -3058,7 +3058,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
buf = f.read(16384)
if not buf:
break
sys.stdout.write(buf)
sys.stdout.write(decode_it(buf))
@cmdln.option('-m', '--message', metavar='TEXT',