From 73bcd657ebbbcd59937e4c737ce04c02662d9046 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 17 Dec 2015 20:00:00 +0100 Subject: [PATCH] Remove unused variable 'v' --- glances/exports/glances_influxdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/exports/glances_influxdb.py b/glances/exports/glances_influxdb.py index f8583fa4..5121006a 100644 --- a/glances/exports/glances_influxdb.py +++ b/glances/exports/glances_influxdb.py @@ -137,7 +137,7 @@ class Export(GlancesExport): if self.version == INFLUXDB_09: # Convert all int to float (mandatory for InfluxDB>0.9.2) # Correct issue#750 and issue#749 - for i, v in enumerate(points): + for i, _ in enumerate(points): try: points[i] = float(points[i]) except ValueError: