Re: [OE-core] [OE-Core][PATCH] lib/oe/qa: handle missing data attribute in __exit__

2019-12-29 Thread Richard Purdie
On Sun, 2019-12-29 at 09:31 +, Alex Kiernan wrote: > If mmap fails in open, we don't have a data attribute so when we > execute > as a context manager the call to self.data.close needs to handle the > missing attribute: > > File: >

[OE-core] [OE-Core][PATCH] lib/oe/qa: handle missing data attribute in __exit__

2019-12-29 Thread Alex Kiernan
If mmap fails in open, we don't have a data attribute so when we execute as a context manager the call to self.data.close needs to handle the missing attribute: File: '/home/akiernan/nanohub/build/../poky/meta/classes/chrpath.bbclass', lineno: 11, function: process_file_linux 0007: