[oe] [PATCH] Add error handling to read_cache in stage-manager

Mickael Chazaux mchazaux at adeneo-embedded.com
Mon Apr 26 15:25:29 UTC 2010


Hi,

2010/4/26 Chris Larson <clarson at kergoth.com>:
> On Mon, Apr 26, 2010 at 3:20 AM, Koen Kooi <k.kooi at student.utwente.nl>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Looks good to me,
>>
>> Acked-By: Koen Kooi <koen at openembedded.org>
>>
>>
> Same here.
>
> Acked-By: Chris Larson <chris_larson at mentor.com>
>
> Might also be worth catching ValueError there, to be safe (int("foo") raises
> that :).

I'll add that. I am also unsure on what to do in case of an error. Is
it possible to ignore them? In that case, failing silently may be
better.

Regards,

Mickael
Adeneo Embedded - Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41




More information about the Openembedded-devel mailing list