Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Oct 1, 2021
1 parent d4a2ed0 commit 04e161c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zoo/checklists/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ def get_context_data(self, *, object_list=None, **kwargs):
"name_slug": service.name_slug,
"completed_checklist_steps": service.checkmarks.count,
"total_checklist_steps": sum(
[len(steps) for tag, steps in get_service_steps(service)]
len(steps) for tag, steps in get_service_steps(service)
),
}
for service in self.get_queryset()
]

return context


Expand Down

0 comments on commit 04e161c

Please sign in to comment.