[bitbake-devel] [PATCH] tinfoil.py: validate argument in parse_recipe_file

Paul Eggleton paul.eggleton at linux.intel.com
Thu Apr 6 20:40:45 UTC 2017


On Friday, 7 April 2017 3:15:21 AM NZST Bystricky, Juro wrote:
> parse_recipe can be called from parse_recipe_file as well. If
> parse_recipe_file is called with a non-existing recipe, you end up with the
> exception as well. IMHO for a  non-existent recipe parse_recipe should
> return None (instead of an exception)

I'm not sure I agree - an exception under these circumstances seems completely 
reasonable to me as well.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the bitbake-devel mailing list