Skip to content

Commit

Permalink
Remove unused enumerate (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylion007 authored Jan 29, 2024
1 parent f21699a commit 303a085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 303a085

Please sign in to comment.