[Toaster] [review-request][PATCH] bitbake: toaster: do not stop data import on bad data
Damian, Alexandru
alexandru.damian at intel.com
Wed Jul 15 09:43:05 PDT 2015
This is the patch I was mentioning.
On Wed, Jul 15, 2015 at 3:13 PM, Damian, Alexandru <
alexandru.damian at intel.com> wrote:
> Hello,
>
> I am not sure why submitting a patch when I already had a patch for
> review, as bug 7955 status was set to IN PROGRESS REVIEW.
>
> Anyhow, the
> pass
>
> is superfluous there, as highlighted by pylint.
>
>
> Cheers,
> Alex
>
> On Tue, Jul 14, 2015 at 10:06 PM, Brian Avery <brian.avery at intel.com>
> wrote:
>
>> Continue storing layers in the database even if we hit
>> a bad layer.
>>
>> [YOCTO #7955]
>> ---
>> bitbake/lib/toaster/orm/models.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/bitbake/lib/toaster/orm/models.py
>> b/bitbake/lib/toaster/orm/models.py
>> index 4ea75f2..c218198 100644
>> --- a/bitbake/lib/toaster/orm/models.py
>> +++ b/bitbake/lib/toaster/orm/models.py
>> @@ -891,7 +891,7 @@ class LayerIndexLayerSource(LayerSource):
>>
>> dependlist[lv].append(Layer_Version.objects.get(layer_source = self,
>> layer__up_id = ldi['dependency'], up_branch = lv.up_branch))
>> except Layer_Version.DoesNotExist as e:
>> print "Cannot find layer version ", self,
>> ldi['dependency'], lv.up_branch
>> - raise e
>> + pass
>>
>> for lv in dependlist:
>> LayerVersionDependency.objects.filter(layer_version =
>> lv).delete()
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> toaster mailing list
>> toaster at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/toaster
>>
>
>
>
> --
> Alex Damian
> Yocto Project
> SSG / OTC
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150715/e4ac8271/attachment.html>
More information about the toaster
mailing list