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

Christopher Larson kergoth at gmail.com
Thu Apr 6 01:32:19 UTC 2017


On Wed, Apr 5, 2017 at 2:33 PM, Juro Bystricky <juro.bystricky at intel.com>
wrote:

> Check for an empty file name to avoid an exception.
>
> [YOCTO#11210]
>
> Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
>

IMO this is pointless. If you’re calling parse_recipe_file with an empty
string, it’s programmer error, which means raising an exception is a
completely reasonable thing to do.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170405/270ede6a/attachment-0002.html>


More information about the bitbake-devel mailing list