[bitbake-devel] [PATCH] tests/data: Add log parsing test code

Christopher Larson clarson at kergoth.com
Wed May 27 16:52:33 UTC 2015


On Tue, May 26, 2015 at 8:17 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> +def LogContains(item, logs):
> +    for l in logs:
> +        m = l.getMessage()
> +        if item in m:
> +            return True
> +    return False
>

I didn’t notice at first, but this doesn’t comply with PEP8 — camelcase is
for use with class names, not function names. Minor, obviously :)
-- 
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/20150527/8442e623/attachment-0002.html>


More information about the bitbake-devel mailing list