[bitbake-devel] [PATCH] build.py: Preserve sigdata files in the stamps directory

Chris Larson clarson at kergoth.com
Wed Nov 28 22:19:49 UTC 2012


On Wed, Nov 28, 2012 at 3:19 PM, Chris Larson <clarson at kergoth.com> wrote:

> On Wed, Nov 28, 2012 at 1:26 PM, Richard Purdie <
> richard.purdie at linuxfoundation.org> wrote:
>
>> -        bb.utils.remove(mask)
>> -
>> +        # Preserve sigdata files in the stamps directory
>> +        for name in glob.glob(mask):
>> +            if name.find("sigdata") != -1:
>>
>
> if 'sigdata' not in name:


Erm, s/not in/in/. You get the idea. Use of 'find' only really makes sense
if you need the locations within the string.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20121128/a96d02cd/attachment-0001.html>


More information about the bitbake-devel mailing list