[OE-core] [PATCH 1/3] distrodata.bbclass/distro_check.py: Fix splits

Burton, Ross ross.burton at intel.com
Tue Mar 31 22:03:20 UTC 2015


On 31 March 2015 at 21:11, Beth Flanagan <elizabeth.flanagan at intel.com>
wrote:

> +        if pnstripped.find("-native") != -1:
>

Shouldn't this be .endswith() or .startswith() to prevent false-positives?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150331/1053902c/attachment-0002.html>


More information about the Openembedded-core mailing list