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 <[email protected]> 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 > [email protected] > https://lists.yoctoproject.org/listinfo/toaster > -- Alex Damian Yocto Project SSG / OTC
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
