mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
fix flake8
This commit is contained in:
@@ -530,7 +530,9 @@ def get_detailed_services(start_date, end_date, only_active=False, include_from_
|
||||
include_from_test_key=include_from_test_key,
|
||||
)
|
||||
results = []
|
||||
for _service_id, rows in itertools.groupby(stats, lambda x: x.service_id):
|
||||
|
||||
mylist = itertools.groupby(stats, lambda x: x.service_id)
|
||||
for _service_id, rows in mylist:
|
||||
rows = list(rows)
|
||||
s = statistics.format_statistics(rows)
|
||||
results.append({
|
||||
|
||||
Reference in New Issue
Block a user