[bitbake-devel] [PATCH] fetcher: fix BB_STRICT_CHECKSUM datatype check

Christopher Larson clarson at kergoth.com
Thu Sep 25 23:46:49 UTC 2014


On Thu, Sep 25, 2014 at 4:14 PM, Alejandro Hernandez <
alejandro.hernandez at linux.intel.com> wrote:

> -        if strict and not (ud.md5_expected or ud.sha256_expected):
> +        if (strict == 1) and not (ud.md5_expected or ud.sha256_expected):
>

I realize python allows it, but I think it's pretty amusing that the
subject line mentions correcting the data type, and then you compare a
string to an integer ;)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140925/83135d51/attachment-0002.html>


More information about the bitbake-devel mailing list