]> code.ossystems Code Review - openembedded-core.git/commit
send-error-report: encode data to bytes python3
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 3 Jun 2016 09:04:22 +0000 (12:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Jun 2016 12:12:45 +0000 (13:12 +0100)
commitb3f4de76d1b32c5079b0b857655cc2baad088519
treec9abc055b987ac55a003e0ab3df176a48021bf4d
parentcfae302c4996c49a8754497ea9f13f8331d6975d
send-error-report: encode data to bytes

Encoded data before sending it through http as urllib expecting bytes.
Fixed TypeError: POST data should be bytes or an iterable of bytes. It
cannot be of type str.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/send-error-report