aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-06-12 16:39:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-02 10:40:38 +0100
commit8a5ee520cee8c2fd0c2d87f2bba5a6a7a4729bd6 (patch)
treea551bbec96b8dfae633fda313545da96a0d18759 /scripts
parent9e3bf0ce4ebb885ca0ede0e636d80e032c29e744 (diff)
downloadopenembedded-core-contrib-8a5ee520cee8c2fd0c2d87f2bba5a6a7a4729bd6.tar.gz
send-error-report: decode response from server
Fixed: b'Your entry can be found here: http://<snip>' Now looks like: Your entry can be found here: http://<snip> (From OE-Core rev: 4510973fe12a61c21e12b46b8315c56f91eff5b7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e4bacbf94a68a5ca8729b7cb2de90382c084fe7f) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/send-error-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/send-error-report b/scripts/send-error-report
index 15b5e84911..cd2e7f4b9d 100755
--- a/scripts/send-error-report
+++ b/scripts/send-error-report
@@ -143,7 +143,7 @@ def send_data(data, args):
logging.error(e.reason)
sys.exit(1)
- print(response.read())
+ print(response.read().decode('utf-8'))
if __name__ == '__main__':