diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-06-12 16:39:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-15 17:56:24 +0100 |
commit | e4bacbf94a68a5ca8729b7cb2de90382c084fe7f (patch) | |
tree | 848875507dd18429dade3be66c0628ace7e562f6 /scripts | |
parent | 951fa62bab7f65828916e6d7682fbe5f13b03ea6 (diff) | |
download | poky-e4bacbf94a68a5ca8729b7cb2de90382c084fe7f.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>
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__': |