mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06: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:
commit
c1c72645ad
@ -3058,7 +3058,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
buf = f.read(16384)
|
buf = f.read(16384)
|
||||||
if not buf:
|
if not buf:
|
||||||
break
|
break
|
||||||
sys.stdout.write(buf)
|
sys.stdout.write(decode_it(buf))
|
||||||
|
|
||||||
|
|
||||||
@cmdln.option('-m', '--message', metavar='TEXT',
|
@cmdln.option('-m', '--message', metavar='TEXT',
|
||||||
|
Loading…
Reference in New Issue
Block a user