summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-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 ee01a46250..dd6466471d 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1183,7 +1183,7 @@ class LayerIndexLayerSource(LayerSource):
1183 1183
1184 # update branches; only those that we already have names listed in the 1184 # update branches; only those that we already have names listed in the
1185 # Releases table 1185 # Releases table
1186 whitelist_branch_names = map(lambda x: x.branch_name, Release.objects.all()) 1186 whitelist_branch_names = [rel.branch_name for rel in Release.objects.all()]
1187 if len(whitelist_branch_names) == 0: 1187 if len(whitelist_branch_names) == 0:
1188 raise Exception("Failed to make list of branches to fetch") 1188 raise Exception("Failed to make list of branches to fetch")
1189 1189