Re: [OE-core] [PATCH] create-spdx.bbclass: Search all license directories for licenses

2021-09-15 Thread Joshua Watt
On 9/14/21 1:11 PM, Peter Kjellerstedt wrote: Before, even if the code was seemingly written to search through all licenses in ${COMMON_LICENSE_DIR} and ${LICENSE_PATH}, it would actually bail out after only searching ${COMMON_LICENSE_DIR} due to the exception handling. Also refrain from using f

Re: [OE-core] [PATCH] create-spdx.bbclass: Search all license directories for licenses

2021-09-15 Thread Peter Kjellerstedt
> -Original Message- > From: Konrad Weihmann > Sent: den 14 september 2021 20:25 > To: Peter Kjellerstedt ; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] create-spdx.bbclass: Search all license > directories for licenses > &g

Re: [OE-core] [PATCH] create-spdx.bbclass: Search all license directories for licenses

2021-09-14 Thread Konrad Weihmann
On 14.09.21 20:11, Peter Kjellerstedt wrote: Before, even if the code was seemingly written to search through all licenses in ${COMMON_LICENSE_DIR} and ${LICENSE_PATH}, it would actually bail out after only searching ${COMMON_LICENSE_DIR} due to the exception handling. Also refrain from using

[OE-core] [PATCH] create-spdx.bbclass: Search all license directories for licenses

2021-09-14 Thread Peter Kjellerstedt
Before, even if the code was seemingly written to search through all licenses in ${COMMON_LICENSE_DIR} and ${LICENSE_PATH}, it would actually bail out after only searching ${COMMON_LICENSE_DIR} due to the exception handling. Also refrain from using f-strings. Signed-off-by: Peter Kjellerstedt --