]> code.ossystems Code Review - openembedded-core.git/commit
spdx.bbclass: Replace deprecated string.replace with str.replace
authorOlof Johansson <olof.johansson@axis.com>
Mon, 16 Jul 2018 15:05:53 +0000 (17:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:13:30 +0000 (10:13 +0100)
commit8538aabf62d866f36764b4b136ee8575308df690
tree9a852b29defb052608e6dc3ca6fa852bb93df4c2
parentc0dac0d600e81054104f7b377f7c266aa83df371
spdx.bbclass: Replace deprecated string.replace with str.replace

The string.replace function is removed in python3. Instead, the str
method "replace" should be used instead.

Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/spdx.bbclass