summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 4ea75f2bf3..2b1a5b7905 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -889,9 +889,8 @@ class LayerIndexLayerSource(LayerSource):
889 dependlist[lv] = [] 889 dependlist[lv] = []
890 try: 890 try:
891 dependlist[lv].append(Layer_Version.objects.get(layer_source = self, layer__up_id = ldi['dependency'], up_branch = lv.up_branch)) 891 dependlist[lv].append(Layer_Version.objects.get(layer_source = self, layer__up_id = ldi['dependency'], up_branch = lv.up_branch))
892 except Layer_Version.DoesNotExist as e: 892 except Layer_Version.DoesNotExist:
893 print "Cannot find layer version ", self, ldi['dependency'], lv.up_branch 893 print "Cannot find layer version ", self, ldi['dependency'], lv.up_branch
894 raise e
895 894
896 for lv in dependlist: 895 for lv in dependlist:
897 LayerVersionDependency.objects.filter(layer_version = lv).delete() 896 LayerVersionDependency.objects.filter(layer_version = lv).delete()