misc: fix consider-using-enumerate pylint error (#56288)

This commit is contained in:
Lauréline Guérin 2021-08-30 11:28:58 +02:00
parent 9ce912f39b
commit 6e1c8b4f84
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ class ChartNgCell(CellBase):
aggregates = OrderedDict((label, [0] * len(series_data)) for label in x_labels)
for i, date in enumerate(dates):
key = format_date(date, date_formats[interval])
for j in range(len(series_data)):
for j, dummy in enumerate(series_data):
aggregates[key][j] += series_data[j][i] or 0
data['x_labels'] = x_labels