Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-09-01 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 1 september 2024 13:31 > To: Peter Kjellerstedt ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage > > On Sun, 2024-09-01 at 11:21 +,

Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-09-01 Thread Richard Purdie
> > Subject: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage > > > > Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which > > has > > code allowing it to be optimised with contains usage. > > > > The patch also drops unused return

Re: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-09-01 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 28 augusti 2024 18:15 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] insane: Drop oe.qa.add_message usage > > Drop the o

[OE-core] [PATCH] insane: Drop oe.qa.add_message usage

2024-08-28 Thread Richard Purdie
Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has code allowing it to be optimised with contains usage. The patch also drops unused return values which we stopped using a while ago and drops the now unneeded function parameters, generally leading to cleaner code. The