From 3886b95ae429855459f11059a645872d162c6e3e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 25 Apr 2019 22:27:53 +0200 Subject: [PATCH] [python3] release command: fix exception on missing bytearray/str decode --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 4eeecd3d..6749d1df 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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',