[bitbake-devel] [PATCH] data_smart: Don't use mutable objects as default args

Christopher Larson clarson at kergoth.com
Thu Jan 29 16:10:18 UTC 2015


On Thu, Jan 29, 2015 at 7:35 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> These only have one instance created which means your subsequent datastores
> can contain echos of previous ones. Obviously this is not the behaviour
> we want/expect. It doesn't affect bitbake too badly as we only have one
> datastore, it does massively potentially break our selftests though.
>
> Thanks to Tim Amsell for pointing out the now obvious problem!
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>

Wow, obvious indeed, once you look at it. Nicely spotted, Tim.
-- 
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/20150129/fbc0a845/attachment-0002.html>


More information about the bitbake-devel mailing list