1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 18:26:15 +01:00

Merge pull request #537 from dirkmueller/master

[python3] release command: fix exception on missing bytearray/str decode
This commit is contained in:
Marco Strigl 2019-04-26 10:02:01 +02:00 committed by GitHub
commit c1c72645ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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',