Re: [OE-core] [bitbake][PATCH] lib/bb/build.py: Raise proper KeyError if function does not exist

2017-02-08 Thread Paul Eggleton
Hi Mike, On Wednesday, 8 February 2017 7:17:53 AM NZDT Mike Looijmans wrote: > If one adds the following line to an image recipe without defining > the function: > ROOTFS_POSTPROCESS_COMMAND += "rootfs_funky_stuff;" > bitbake will terminate with a cryptic error message: > AttributeError: 'NoneType

[OE-core] [bitbake][PATCH] lib/bb/build.py: Raise proper KeyError if function does not exist

2017-02-07 Thread Mike Looijmans
If one adds the following line to an image recipe without defining the function: ROOTFS_POSTPROCESS_COMMAND += "rootfs_funky_stuff;" bitbake will terminate with a cryptic error message: AttributeError: 'NoneType' object has no attribute 'get' To inform the user of what bitbake wasn't able to find,