aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-06-12 16:35:53 +0800
committerRobert Yang <liezhi.yang@windriver.com>2018-06-12 16:37:41 +0800
commit067ca88b3cda3f822955c50fa560416f19227a72 (patch)
tree20cba756211e629aed14c63375500635fcff5e26
parent23f15c63777020f5d43b070a1eb2bcf246c19ff8 (diff)
downloadopenembedded-core-contrib-rbt/error_report.tar.gz
openembedded-core-contrib-rbt/error_report.tar.bz2
openembedded-core-contrib-rbt/error_report.zip
send-error-report: decode response from serverrbt/error_report
Fixed: b'Your entry can be found here: http://<snip>' Now looks like: Your entry can be found here: http://<snip> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-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__':