summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index dd1688e51d..1af9c0bd90 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -289,7 +289,7 @@ class LayerMachinesTable(MachinesTable):
289 MachinesTable.setup_queryset(self, *args, **kwargs) 289 MachinesTable.setup_queryset(self, *args, **kwargs)
290 290
291 self.queryset = self.queryset.filter(layer_version__pk=int(kwargs['layerid'])) 291 self.queryset = self.queryset.filter(layer_version__pk=int(kwargs['layerid']))
292 self.static_context_extra['in_prj'] = ProjectLayer.objects.filter(Q(project=kwargs['pid']) and Q(layercommit=kwargs['layerid'])).count() 292 self.static_context_extra['in_prj'] = ProjectLayer.objects.filter(Q(project=kwargs['pid']) & Q(layercommit=kwargs['layerid'])).count()
293 293
294 def setup_columns(self, *args, **kwargs): 294 def setup_columns(self, *args, **kwargs):
295 self.add_column(title="Machine", 295 self.add_column(title="Machine",
@@ -425,7 +425,7 @@ class LayerRecipesTable(RecipesTable):
425 RecipesTable.setup_queryset(self, *args, **kwargs) 425 RecipesTable.setup_queryset(self, *args, **kwargs)
426 self.queryset = self.queryset.filter(layer_version__pk=int(kwargs['layerid'])) 426 self.queryset = self.queryset.filter(layer_version__pk=int(kwargs['layerid']))
427 427
428 self.static_context_extra['in_prj'] = ProjectLayer.objects.filter(Q(project=kwargs['pid']) and Q(layercommit=kwargs['layerid'])).count() 428 self.static_context_extra['in_prj'] = ProjectLayer.objects.filter(Q(project=kwargs['pid']) & Q(layercommit=kwargs['layerid'])).count()
429 429
430 def setup_columns(self, *args, **kwargs): 430 def setup_columns(self, *args, **kwargs):
431 self.add_column(title="Recipe", 431 self.add_column(title="Recipe",