aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sstate-diff-machines.sh
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-06-10 10:04:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:42:41 +0100
commit241e094bcd9212204350f9855257474908f82a3c (patch)
treec9afbbbd05899ad90b422d350791ac61824da9ed /scripts/sstate-diff-machines.sh
parent0632c3e69070e340218c1c1c835b2343cd143d8d (diff)
downloadopenembedded-core-contrib-241e094bcd9212204350f9855257474908f82a3c.tar.gz
npm.bbclass: avoid str/byte conversion problems for PKGV and SUMMARY
In Python3, str.encode() returns byte strings, which later are not converted back to strings automatically, leading to "TypeError: Can't convert 'bytes' object to str implicitly" in code which reads PKGV and SUMMARY and expects to find strings there. The npm.bbclass must use values for d.setVar() that meet that expectation, and thus the redundant (and in Python3, harmful) .encode() gets removed. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/sstate-diff-machines.sh')
0 files changed, 0 insertions, 0 deletions