summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 9a5942b75e..6c28726bd9 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -900,7 +900,7 @@ class LayerIndexLayerSource(LayerSource):
900 oe_core_l.save() 900 oe_core_l.save()
901 continue 901 continue
902 902
903 except DoesNotExist: 903 except Layer.DoesNotExist:
904 pass 904 pass
905 905
906 l, created = Layer.objects.get_or_create(layer_source = self, name = li['name']) 906 l, created = Layer.objects.get_or_create(layer_source = self, name = li['name'])