mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-12 11:50:28 +00:00
PEP fix
This commit is contained in:
1 parent
1295390b03
commit
0be4ee5d92
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class BuildIndex(ListView):
|
||||
|
||||
context = super(BuildIndex, self).get_context_data(**kwargs).copy()
|
||||
|
||||
context['active'] = self.get_queryset().filter(status__in=[Build.PENDING,])
|
||||
context['active'] = self.get_queryset().filter(status__in=[Build.PENDING, ])
|
||||
|
||||
context['completed'] = self.get_queryset().filter(status=Build.COMPLETE)
|
||||
context['cancelled'] = self.get_queryset().filter(status=Build.CANCELLED)
|
||||
|
||||
Reference in new issue
Block a user