From 303a0858dd9e3aea131b9e2274d22150d6d4f30e Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Mon, 29 Jan 2024 10:40:05 -0500 Subject: [PATCH] Remove unused enumerate (#1518) --- fsspec/parquet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsspec/parquet.py b/fsspec/parquet.py index c46410d00..bb4625c62 100644 --- a/fsspec/parquet.py +++ b/fsspec/parquet.py @@ -336,7 +336,7 @@ def _transfer_ranges(fs, blocks, paths, starts, ends): def _add_header_magic(data): # Add b"PAR1" to file headers - for i, path in enumerate(list(data.keys())): + for path in list(data.keys()): add_magic = True for k in data[path].keys(): if k[0] == 0 and k[1] >= 4: