metrics.py: Fix E741 ('l' may look like 'I')

This commit is contained in:
Stephan Kulow 2023-01-02 16:14:03 +01:00
parent 1e3883dc9f
commit 4900ef7d02

View File

@ -291,7 +291,7 @@ def walk_points(points, target):
final = []
time_last = None
wrote = 0
for point in sorted(points, key=lambda l: l.time):
for point in sorted(points, key=lambda p: p.time):
if point.measurement not in measurements:
# Wait until just before writing to drop measurement.
client.drop_measurement(point.measurement)