Re: [OE-core] [PATCH] oeqa.utils.metadata: cope with invalid lines in os-release file

2017-04-27 Thread Markus Lehtonen
On 26/04/2017, 17.47, "Joshua Lock" wrote: On Wed, 2017-04-26 at 17:39 +0300, Markus Lehtonen wrote: > Don't crash if every line in /etc/os-release does not adhere to the > expected "key=val" format. E.g. CentOS 7 has empty lines in the file. >

Re: [OE-core] [PATCH] oeqa.utils.metadata: cope with invalid lines in os-release file

2017-04-26 Thread Joshua Lock
On Wed, 2017-04-26 at 17:39 +0300, Markus Lehtonen wrote: > Don't crash if every line in /etc/os-release does not adhere to the > expected "key=val" format. E.g. CentOS 7 has empty lines in the file. > > Signed-off-by: Markus Lehtonen > --- >  

[OE-core] [PATCH] oeqa.utils.metadata: cope with invalid lines in os-release file

2017-04-26 Thread Markus Lehtonen
Don't crash if every line in /etc/os-release does not adhere to the expected "key=val" format. E.g. CentOS 7 has empty lines in the file. Signed-off-by: Markus Lehtonen --- meta/lib/oeqa/utils/metadata.py | 6 -- 1 file changed, 4 insertions(+), 2