diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-06-12 16:39:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 11:41:26 +0100 |
commit | 158ad96a6c2d5176089a1cdf83cefb546913ac94 (patch) | |
tree | fce1ef669166035cd5c18fec6ccb94f180ed319f /scripts | |
parent | fff93becc67445c9c3ea72398418c66427f11da1 (diff) | |
download | poky-158ad96a6c2d5176089a1cdf83cefb546913ac94.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)
(From OE-Core rev: 8a5ee520cee8c2fd0c2d87f2bba5a6a7a4729bd6)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/send-error-report | 2 |
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): | |||
143 | logging.error(e.reason) | 143 | logging.error(e.reason) |
144 | sys.exit(1) | 144 | sys.exit(1) |
145 | 145 | ||
146 | print(response.read()) | 146 | print(response.read().decode('utf-8')) |
147 | 147 | ||
148 | 148 | ||
149 | if __name__ == '__main__': | 149 | if __name__ == '__main__': |